Hi,
I've been trying to make a simple SOAP call, with a header: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:..."> <soapenv:Header> <urn:id> <uuid>...</uuid> </urn:id> </soapenv:Header> <soapenv:Body>...</soapenv:Body> </soapenv:Envelope> It seems that the default Axis processor doesn't support headers(?), so I thought that I could do the HTTP POST with oxf:xforms-submission processor. Now I have the soap request and I try to call the web service: <p:processor name="oxf:xforms-submission"> <p:input name="request" href="#soap-request"/> <p:input name="submission"> <xforms:submission method="post" mediatype="application/soap+xml" action="http://..."/> </p:input> <p:output name="response" id="soap-result" debug="login-soap-result-debug"/> </p:processor> But for some reason, this is failing. Does the processor support media type "application/soap+xml"? I tried to follow the rules outlined here: http://www.w3.org/TR/xforms11/#SOAP Thanks in advance! -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi,
We do support the mediatype attribute and should send the media type you specify in the Content-Type HTTP header. Can you trace the HTTP request with a tool like tcpmon (http://ws.apache.org/commons/tcpmon/) to check if the problem comes from the fact that this header is missing or set incorrectly? Alex On 2/15/07, [hidden email] <[hidden email]> wrote: > Hi, > > I've been trying to make a simple SOAP call, with a header: > > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:..."> > <soapenv:Header> > <urn:id> > <uuid>...</uuid> > </urn:id> > </soapenv:Header> > <soapenv:Body>...</soapenv:Body> > </soapenv:Envelope> > > It seems that the default Axis processor doesn't support headers(?), so I thought that I could do the HTTP POST with oxf:xforms-submission processor. > > Now I have the soap request and I try to call the web service: > > <p:processor name="oxf:xforms-submission"> > <p:input name="request" href="#soap-request"/> > <p:input name="submission"> > <xforms:submission method="post" mediatype="application/soap+xml" action="http://..."/> > </p:input> > <p:output name="response" id="soap-result" debug="login-soap-result-debug"/> > </p:processor> > > But for some reason, this is failing. Does the processor support media type "application/soap+xml"? > > I tried to follow the rules outlined here: > > http://www.w3.org/TR/xforms11/#SOAP > > Thanks in advance! > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |