I tried to edit service stub generated by wsdl2java and i have replaced 

        _call.setUseSOAPAction(true);
        _call.setSOAPActionURI("")

with 

        _call.setUseSOAPAction(true);
        _call.setSOAPActionURI("getLocationsList")

//the rest of generated code
        _call.setSOAPActionURI("");
       
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
        _call.setOperationName(new
javax.xml.namespace.QName("http://service.localization.ws2.viamichelin.com";,
"getLocationsList"));

but those changes didn't bring any effect and the problem still exists.


Anne Thomas Manes wrote:
> 
> Have you set the SOAPAction header in your code?
> 
> On 3/14/07, domel <[EMAIL PROTECTED]> wrote:
>>
>> Hello
>>
>> I'm trying to run sample application for viamichelin webservices.
>> Unfortunately i got following message error
>>
>> Exception in thread "main" AxisFault
>>  faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
>>  faultSubcode:
>>  faultString: no SOAPAction header!
>>  faultActor:
>>  faultNode:
>>  faultDetail:
>>         {http://xml.apache.org/axis/}stackTrace:no SOAPAction header!
>>         at
>> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
>>         at
>> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
>>         at
>> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
>> ...
>>
>> Bellow is  briefly presented my system configuration:
>>
>> Suse Linux 9.3
>> J2SDK 1.4.2.13
>> Jakarta Tomcat 5.0.28
>> Axis 1.4
>> XERCES 2.9.0
>>
>> I also would like to mention that my axis seems to be configured ok. All
>> requred core libraries are present, only 2 optional libraries are missed,
>> but they dont seem to be required.
>> --
>> View this message in context:
>> http://www.nabble.com/viamichelin-web-services---no-SOAPAction-header-tf3404796.html#a9483344
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/viamichelin-web-services---no-SOAPAction-header-tf3404796.html#a9489999
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to