axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian De Pradine <PRAD...@uk.ibm.com>
Subject Re: SOAPAction mismatch invoking service
Date Fri, 20 Apr 2007 16:11:55 GMT
Hello Jose,

Please raise a JIRA issue to cover this. Thanks.

http://issues.apache.org/jira/browse/AXIS2

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External  +44 (0) 1962 816319         Internal 246319

If you can't find the time to do it right the first time, where will you 
find the time to do it again?




"José Antonio Sánchez" <getaceres@gmail.com> 
20/04/2007 16:55
Please respond to
axis-user@ws.apache.org


To
axis-user@ws.apache.org
cc

Subject
SOAPAction mismatch invoking service






I'm trying to invoke an Axis2 service inside a Muse service. To do
this I'm using the Axis2 service stub I generated but when I send a
message I get the following:

POST /axis2/services/RegistrationService HTTP/1.1

SOAPAction: "
http://docs.oasis-open.org/wscaf/2005/10/wscf/RegistrationServicePortType/addParticipantResponse
"

User-Agent: Axis2

Host: 127.0.0.1:8081

Transfer-Encoding: chunked

Content-Type: text/xml; charset=UTF-8



545

<?xml version='1.0' encoding='UTF-8'?>
  <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
     <soapenv:Header>
 <wsa:To>http://localhost:8081/axis2/services/RegistrationService</wsa:To>
        <wsa:ReplyTo>
 <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
 <wsa:MessageID>urn:uuid:63015A36B234BC96B8117708283322511</wsa:MessageID>
 
<wsa:Action>http://docs.oasis-open.org/wscaf/2005/10/wscf/RegistrationServicePortType/addParticipant</wsa:Action>
     </soapenv:Header>
........................

As you can see, the SOAPAction and wsa Action elements are different
and I don't know why. Using this same Stub in a local program I get
the same text in both elements and the call succeed but using it in
Muse gets this 'Response' part added.
Is it a Muse or an Axis2 problem? Does Axis2 add a 'Response' element
for every outgoing message in a service?

-- 
Regards.
José Antonio Sánchez

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org








Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






Mime
View raw message