axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Jason" <Jason.W...@delta.com>
Subject [Axis2] 1.0 Addressing issues when access ASP.NET2.0
Date Tue, 04 Jul 2006 23:20:36 GMT
Hi,

I have a urgent question.

I tried to use Axis2 client with WS-Security to call APS.NET2.0 WSE3.0
Web Service.

I noticed that Axis2 addressing module created addressing block using
wsa="http://www.w3.org/2005/08/addressing,
and ASP.NET expect http://schemas.xmlsoap.org/ws/2004/08/addressing.
looks like the Axis2 used more recent ws addressing specification.

How can I configure the Axis2 addressing module using the same
specification as ASP.NET?


When the Axis2 client call APS.NET2.0 Web Service, I got following error
message from ASP.NET :

======================================
org.apache.axis2.AxisFault:
System.Web.Services.Protocols.SoapHeaderException: Server unavailable,
please try later 
---> System.ApplicationException: WSE841: An error occured processing an
outgoing fault response. 
---> System.Web.Services.Protocols.SoapHeaderException:
Microsoft.Web.Services3.Security.SecurityFault: 
Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for
ultimate recipient is required but not present in the message.
======================================

And the Soap message send from the client like below,


<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
		xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" 
		xmlns:wsa="http://www.w3.org/2005/08/addressing">
	<soapenv:Header>
		***********

	
<wsa:To>http://localhost:4071/dnswebservice/Service.asmx</wsa:To>
		<wsa:ReplyTo>
	
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address
>
		</wsa:ReplyTo>
	
<wsa:MessageID>urn:uuid:2284DB461796A2D85611520498383641</wsa:MessageID>
		<wsa:Action>http://tempuri.org/HelloWorld</wsa:Action>
	</soapenv:Header>
	<soapenv:Body
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd" wsu:Id="id-10973446">
		**********
	</soapenv:Body>
</soapenv:Envelope>


Please help.

Thanks for your time.
Jason


Mime
View raw message