Forum tags


Top Posters

Last 30 days

  • Antoine (38)
  • ravinderjit.singh (30)
  • danielandross (18)
  • venkaiah.k (16)
  • sirswendu.ganapati (14)
  • eva.das (13)
  • milos.vacek (12)
  • metabyte (9)
  • dfrench (5)
  • richard.berger (5)

All time

  • Antoine (1488)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (380)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Copy From SOAP Response to Notification (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Copy From SOAP Response to Notification
#13429
lee.standen (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Copy From SOAP Response to Notification 7 Months, 3 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?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13432
Antoine (Admin)
Admin
User Offline Click here to see the profile of this user
Re:Copy From SOAP Response to Notification 7 Months, 3 Weeks ago Karma: 28  
The mapping is incorrect, make sure the copy copies from a source to a destination that is compatible.

Thanks.

Antoine
 
Report to moderator   Logged Logged  
 
Intalio, the Open Source BPMS company
www.intalio.com
  The administrator has disabled public write access.
#13433
lee.standen (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Copy From SOAP Response to Notification 7 Months, 3 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)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13482
lee.standen (User)
Fresh Boarder
User Offline Click here to see the profile of this user
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...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop