[jboss-user] [JBoss jBPM] - Problem BPEL: SOAP Messages in a web service invocation

agusgr do-not-reply at jboss.com
Thu Mar 1 07:12:42 EST 2007


Hello,
I'm working with jBoss-4.0.5.GA, jbpm-bpel-1.1.Beta3 and jBossws.1.0.3.SP1.
 
I have developed a simple bpel process with and invocation to a external web service. I deploy the process without problems but when I test it I have the following problem:
The SOAP message to the web service is :
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
  | <env:Header/>
  | <env:Body>
  | <defaultNS:CapitalCity xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:defaultNS='null'>ES</defaultNS:CapitalCity></env:Body></env:Envelope>
  | 
And the external server answer me with this:
<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
  | <soap:Header/>
  | <soap:Body>
  | <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
  |  <faultcode>soap:Server</faultcode>
  |  <faultstring>Error processing request: Invalid namespace 'null' expected 'http://www.oorsprong.org/websamples.countryinfo'</faultstring>
  |  <detail/>
  | </env:Fault></soap:Body></soap:Envelope>
  | 

The problem is that the process set the property 'DefaultNS' to null, but I don't know how to change this.

How can I set the DefaultNS different from null?
Maybe in the bpel-application.xml file?
Should I use the latest version of jbossWS?

The web service what I want to invoke is this 
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso
and the operation is CapitalCity.

Any idea??
Thank you in advance

Agus

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024219#4024219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024219



More information about the jboss-user mailing list