axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Sanford <rsanf...@trefs.com>
Subject !!! HELP !!!
Date Tue, 29 Jun 2004 17:36:02 GMT
I am simply flailing about trying to understand what is happening here. Can
anyone help me with this?

rjsjr

> -----Original Message-----
> From: Robert Sanford [mailto:rsanford@trefs.com] 
> Sent: Monday, June 28, 2004 3:07 PM
> To: axis-c-user@ws.apache.org
> Subject: No SOAPAction Header Error
> 
> 
> After mucking around with Axis C++ client internals to get my 
> documents to actually transmit I get an error message from my 
> Axis Java server as cited below. The crux of the error 
> message from the Axis Java server is "no SOAPAction header!". 
> When I use the Axis Java client everything works just fine.
> 
> I have copied the output from the console window below so you 
> can see what was transmitted and what was returned for 
> general viewing pleasure. 
> 
> The only difference that I can detect is that Java client has 
> extra attributes on the ns1:dispatch element as follows:
>    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>    soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> 
> Is that the issue? If that *is* the issue then how do I make 
> sure those attributes are applied to the ns1:dispatch element?
> 
> Many thanks!
> 
> rjsjr
> 
> ----------
> 
> Transport:init() successfull
> <?xml version='1.0' encoding='utf-8' ?>
> <SOAP-ENV:Envelope 
>    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> 
> <SOAP-ENV:Body>
> <ns1:dispatch xmlns:ns1="http://soapinterop.org/">
> 
> <ns1:arg0 xsi:type="xsd:string">
>   My document data here
> </ns1:arg0>
> </ns1:dispatch>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> try
> Payload:
> 1cb
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmln
> s:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSc
> hema-instance">
>  <soapenv:Body>
>   <soapenv:Fault>
>    <faultcode 
> xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</f
> aultcode>
>    <faultstring>no SOAPAction header!</faultstring>
>    <detail/>
>   </soapenv:Fault>
>  </soapenv:Body>
> </soapenv:Envelope>
> 
> m_MsgSize:466
> bodyLength:-842150451
> try
> m_MsgSize:5
> bodyLength:-842150917
> 

Mime
View raw message