Hi Alex,

some time has passed since my last question.
"Connecting to a webservice (sun wsdk) with the delegation processor"

Now, I followed the problem to the ground:
It is in the soap-message send from oxf to the webservice.
I tried to connect to this service with xml-spy.
The message looked like:
<SOAP-ENV:Envelope
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
        <SOAP-ENV:Body>
                <m:getHallo xmlns:m="urn:targetStammdatenVerwaltung"
                SOAP-ENV:encodingStyle=
                          "http://schemas.xmlsoap.org/soap/encoding/"/>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

This xml-spy generated code runs perfect!
I get the right response from the webservice.

The oxf generates the following code:
<soapenv:Envelope
                xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
                xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
      <m:getHallo xmlns:m="urn:targetStammdatenVerwaltung"/>
 </soapenv:Body>
</soapenv:Envelope>

This doesn�t works.
The error message:
Internal Server Error (unexpected encoding style:
expected=http://schemas.xmlsoap.org/soap/encoding/, actual=)

extract of model.xpl:
...
<delegation:execute service="immo" operation="getHallo"/>
....
<p:processor uri="oxf/processor/delegation">
    <p:input name="interface">
        <config>
           <service id="immo"
              type="webservice"
              endpoint="http://pc-ju:8081/IMMOWEBSERV/StammdatenVerwaltung";>
                 <operation
                     nsuri="urn:targetStammdatenVerwaltung"
                     name="getHallo"/>
           </service>
        </config>
       </p:input>
    <p:input name="call" href="#call"/>
...

Could you help me?
Is there a new delegation processor which forms the right soap structure?
Or could I influence the soap-structure anyway?
How can i get these encoding-style lines in the soap message?

thanks and regards
Marcel







_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to