This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 85178 - Issues with XPath, Namespaces with File BC
Summary: Issues with XPath, Namespaces with File BC
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 22:09 UTC by hemant_bedekar
Modified: 2007-05-31 15:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hemant_bedekar 2006-09-18 22:09:46 UTC
When using a File BC, and the Inbound Part in the File WSDL is based on a XSD in
which elementFormDefault’s value is “qualified”. In this case, when a leaf node
of this XSD is mapped in the BPEL Mapper, the XPath query is generated with
namespace prefixes.
But the XPath query failed during execution. We had to workaroud this by
removing the namespace prefixes. To explain in more detail, when the mapping was
done in the Design view of the BPEL Mapper, the <copy> structure looked like this - 

-------------------------------
<copy>
<from>$FileOperationIn.InboundPartForFile/ns0:BorrowerInformation/ns0:SocialSecurityNumber</from>
<to>$GetAccountInformationIn.parameters/ns3:ssn</to>
</copy>
-------------------------------

As a workaround, I changed the <copy> structure to this

-------------------------------
<copy>
<from>$FileOperationIn.InboundPartForFile/BorrowerInformation/SocialSecurityNumber</from>
<to>$GetAccountInformationIn.parameters/ssn</to>
</copy>
-------------------------------

- and that worked. I discussed this with Murali and he suggested that it appears
that the DOM supplied by File BC seems to be not-namespace-aware.
Comment 1 Joshua Sandusky 2006-09-19 01:51:52 UTC
Re-assigned. This has been confirmed as a File BC issue.
Comment 2 Andrei Chistiakov 2007-05-31 15:35:23 UTC
Not reproducible in build 070531.