axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rajkovic <eric.rajko...@oracle.com>
Subject Re: SOAPAction Header
Date Wed, 05 Mar 2003 19:09:56 GMT
Nicola,

the SOAPAction has to be set in the HTTP header, not the SOAP header.

from Amazon's WSDL:
  <soap:operation soapAction="urn:PI/DevCentral/SoapService" />

It's the same value for all operation, but it need to be there on the wire.

eric

Nicola Muratori wrote:

>hi
>
>i'm trying the amazon web service kit, but
>i can't do any search because the server replies
>this to any request:
>
>
><?xml version="1.0" encoding="UTF-8"?>
><SOAP-ENV:Envelope
>xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:xsd="http://www.w3.org/1999/XMLSchema">
><SOAP-ENV:Body>
><SOAP-ENV:Fault>
><faultcode xsi:type="xsd:string">SOAP-ENV:Client</faultcode>
><faultstring xsi:type="xsd:string">Bad Request</faultstring>
><detail xsi:type="xsd:string">The request is missing the SOAPAction
>header.</detail>
></SOAP-ENV:Fault>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>
>i've tried to set headers in the axis engine but the result is the same with
>any string...
>
>can someone give me a hand??
>
>  
>




Mime
View raw message