|
|
|
Copy From SOAP Response to Notification 7 Months, 4 Weeks ago
|
Karma: 0
|
|
Hi All,
I'm trying to build a proof of concept process, and I've run into a problem:
R-Value expression "{OXPath10Expression $tnsQualifyRequestResponseMsg.parameters/result}" did not select any nodes.
Basically what I've build is as follows: - A simple XForm which takes 2 parameters as input - A simple Web Service request which takes the 2 parameters from the form as input - A notification which takes the results from the Web Service and displays them
Parts 1 and 2 are working... I can see in the bpms-console that the web service call is working, however the above mentioned error is returned when it tries to copy the data from the web service response onto the notification form.
If I remove the mapping (ie. Don't copy anything to the result form) then the process works flawlessly end-to-end.
Any ideas?
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Copy From SOAP Response to Notification 7 Months, 4 Weeks ago
|
Karma: 28
|
|
The mapping is incorrect, make sure the copy copies from a source to a destination that is compatible.
Thanks.
Antoine
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Copy From SOAP Response to Notification 7 Months, 4 Weeks ago
|
Karma: 0
|
|
I am.
I think I may have narrowed it down, however. The web service I'm trying to consume is not putting the response namespace on the XML data it sends back. I think it's failing to find the elements because they're being defined with no namespace.
I'm trying to track down how to add namespaces now... the service is implemented in Perl which doesn't have very good SOAP server support (or client for that matter)
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Copy From SOAP Response to Notification 7 Months, 3 Weeks ago
|
Karma: 0
|
|
Ok, does this help?
03:38:57,003 ERROR [ASSIGN] Assignment Fault: {http://schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailure,lineNo=95,faultExplanation=R-Value expression "{OXPath10Expression $tnsQualifyRequestResponseMsg.parameters/result}" did not select any nodes.
The resulting XML of the web service request is:
<QualifyRequestResponse xmlns="http://www.iinet.net.au/SOAPRequest/DSL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <result xsi:type="xsd:string">Fail</result> </QualifyRequestResponse>
Here's the WSDL response definition:
<wsdl:message name="QualifyRequestResponse"> <wsdl:part element="tns:QualifyRequestResponse" name="parameters"/> </wsdl:message>
<xsd:element name="QualifyRequestResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="result" type="xsd:string" maxOccurs="1" minOccurs="1" /> <xsd:element name="exchange" type="xsd:string" maxOccurs="1" minOccurs="0"> </xsd:element> <xsd:element name="reason" type="xsd:string" maxOccurs="1" minOccurs="0"> </xsd:element> <xsd:element name="address" type="tns:DSLAddressType" maxOccurs="1" minOccurs="0"> </xsd:element> <xsd:element name="cable_details" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element>
Can anyone spot the problem here? I'm just about to give up hope of getting this going...
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|