7 Replies Latest reply on Mar 6, 2007 9:29 AM by Ronald van Kuijk

    Problem BPEL: SOAP Messages in a web service invocation

    Agustín Gañan Newbie

      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/'>
      <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/'>
      <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
       <faultstring>Error processing request: Invalid namespace 'null' expected 'http://www.oorsprong.org/websamples.countryinfo'</faultstring>

      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
      and the operation is CapitalCity.

      Any idea??
      Thank you in advance