Hi Marcel, I am using OXF 2.0 beta and the soap request is fine for me.. Here is a request from TCPMon..
POST http://localhost:8080/xquery/services/xqueryservice HTTP/1.1 Host: localhost:8080 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 722 Max-Forwards: 10 <?xml version="1.0" encoding="UTF-8"?> <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:query xmlns:m="http://localhost:8080/xquery/services/xqueryservice"> <xslt-path>unknown</xslt-path> <start>1</start> <count>999</count> <xpath-query>document(*)//MediaItem</xpath-query> <collection>xmldb:exist://localhost:8080/exist/xmlrpc/db/aida</collection> </m:query> </soapenv:Body> </soapenv:Envelope> Damon. ---------- Original Message ---------------------------------- From: "Marcel Reichert" <[EMAIL PROTECTED]> Reply-To: OXF Users <[EMAIL PROTECTED]> Date: Wed, 25 Jun 2003 15:46:08 +0200 (CEST) >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 > _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
