David,
I started the discussion using my yahoo email account. I suspect that Yahoo treats the Axis2 mailinglist
as a spam. My second email to the mailinglist was bounced back. Now I'm using my
Gmail account to continue asking questions. Thanks!
I engaged the addressing module from axis2 admin webpage. But it seems
not change the result. The request/reply soap messages are still the
same. Do you know what else steps I need to performa to make addressing
effect.
And another question is, if I don't want to engage addressing
dynamically from Axis2 admin servlet but want to do it in configuration files,
is it possible?
Thanks,
vick
David Illsley <
[EMAIL PROTECTED]> wrote: Looks to me like you need
to engage the addressing module in the axis2
server so that there are addressing headers in the response. See the
Axis2 documentaton for how to do this.
David
On 21/09/06, scott ken wrote:
> My C# client (.dotNet
2.0 and WSE 3.0) generated the following SOAP
> message.
>
>
>
>
>
xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
>
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing
"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
> xmlns:xop="http://www.w3.org/2004/08/xop/include"
> xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"
>
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
">
>
>
>
> urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc
>
>
>
>
>
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
>
>
>
> http://localhost:8080/axis2/services/CMBWebService
>
>
>
> wsu:Id="Timestamp-010f1103-934c-44fb-8778-1251c874e66e">
> 2006-09-20T23:12:21Z
> 2006-09-20T23:17:21Z
>
>
>
>
>
> ....
>
>
>
>
> The reply message from Axis2 server is
>
>
>
> xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">
>
>
>
> ....
>
>
>
>
> The C# client encountered this exception
>
> Unhandled Exception:
> Microsoft.Web.Services3.Addressing.AddressingFault: Message
> Information Header Required ---> Micros
> oft.Web.Services3.Addressing.AddressingFormatException:
> WSE202: The
> Action header is required when other address headers
> are present.
> --- End of inner exception stack trace ---
> at
> Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()
> at
>
Microsoft.Web.Services3.Addressing.AddressingHeaders.Load
(SoapEnvelope
> envelope)
> at Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean
> loadAddressing)
> at Microsoft.Web.Services3.SoapEnvelope.PostLoad()
> at Microsoft.Web.Services3.SoapEnvelope.Load
(XmlReader
> reader)
> at
> Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart
> startPart)
> at
> Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String
> contentType, Stream stream)
> at
>
Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMessage
> message, String messageContentType)
> at
>
Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage
(SoapClientMessage
> message, Int32 bufferSize)
> at
>
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
> message, WebResponse response,
> Stream responseStream, Boolean asyncCall)
> at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
>
> I guess it's about some configuration on client side or server
side.
> Can someone tell me what the fix is?
>
> Thanks in advance,
>
> vick
>
>
> ________________________________
> Stay in the know. Pulse on the new
Yahoo.com. Check it out.
>
>
--
David Illsley - IBM Web Services Development
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------
Get your email and more, right on the new Yahoo.com
--0-1468242578-1159300441=:31885
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi, David,<br><br>I engaged the addressing module from axis2 admin
webpage. But it seems not change the result. The request/reply soap
messages are still the same. Do you know what else steps I need to performa to
make addressing effect. <br><br>And another question is, if I don't
want to engage addressing dynamically from Axis2 admin servlet but want to
do it in configuration files, is it
possible?<br><br>Thanks,<br>vick<br><br><b><i>David Illsley <
[EMAIL PROTECTED]></i></b>
wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16,
255); margin-left: 5px; padding-left: 5px;"> Looks to me like you need to
engage the addressing module in the axis2<br>server so that there are
addressing headers in the response. See the<br>Axis2 documentaton for
how to do this.<br>David<br><br>On 21/09/06, scott ken
<
[EMAIL PROTECTED]> wrote:<br>> My C# client (.dotNet 2.0 and WSE
3.0) generated the following SOAP<br>> message.<br>><br>>
<br>>
<soap:Envelope><br>><br>>
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"<br>><br>>
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"<br>>
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"<br>>
xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br>>
xmlns:xop="
http://www.w3.org/2004/08/xop/include"<br>>
xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"<br>><br>>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
"><br>>
<soap:Header><br>> <wsa:Action><br>> <wsa:MessageID><br>>
urn:uuid:8a8309c1-a21d-48ff-aa52-2647bb377cfc<br>>
</wsa:MessageID><br>> <wsa:ReplyTo><br>> <wsa:Address><br>><br>>
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous<br>>
</wsa:Address><br>> </wsa:ReplyTo><br>> <wsa:To><br>>
http://localhost:8080/axis2/services/CMBWebService<br>>
</wsa:To><br>> <wsse:Security><br>> <wsu:Timestamp><br>>
wsu:Id="Timestamp-010f1103-934c-44fb-8778-1251c874e66e"><br>>
<wsu:Created>2006-09-20T23:12:21Z</wsu:Created><br>>
<wsu:Expires>2006-09-20T23:17:21Z</wsu:Expires><br>> </wsu:Timestamp><br>>
</wsse:Security><br>> </wsa:Action><br>> <soap:Body><br>>
<MyAppRequest><br>> ....<br>> </MyAppRequest><br>>
</soap:Body><br>> </soap:Header><br>><br>> The reply
message from Axis2 server is<br>><br>> <br>>
<soapenv:Envelope><br>>
xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"><br>> <soapenv:Header><br>> <soapenv:Body><br>>
<MyAppReply><br>> ....<br>> </MyAppReply><br>>
</soapenv:Body><br>> </soapenv:Header><br>><br>> The C# client
encountered this exception<br>><br>> Unhandled Exception:<br>>
Microsoft.Web.Services3.Addressing.AddressingFault:
Message<br>> Information Header Required ---> Micros<br>>
oft.Web.Services3.Addressing.AddressingFormatException:<br>> WSE202:
The<br>> Action header is required when other address headers<br>>
are present.<br>> --- End of inner exception stack trace
---<br>> at<br>>
Microsoft.Web.Services3.Addressing.AddressingHeaders.CheckValid()<br>> at<br>>
Microsoft.Web.Services3.Addressing.AddressingHeaders.Load(SoapEnvelope<br>> envelope)<br>> at
Microsoft.Web.Services3.SoapEnvelope.PostLoad(Boolean<br>>
loadAddressing)<br>> at
Microsoft.Web.Services3.SoapEnvelope.PostLoad()<br>> at Microsoft.Web.Services3.SoapEnvelope.Load
(XmlReader<br>>
reader)<br>> at<br>>
Microsoft.Web.Services3.Mime.XopDocument.LoadStartPart(MimePart<br>> startPart)<br>> at<br>>
Microsoft.Web.Services3.Mime.XopDocument.LoadFromXopPackage(String<br>>
contentType, Stream stream)<br>> at<br>>
Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor
(SoapClientMessage<br>> message, String messageContentType)<br>>
at<br>>
Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(SoapClientMessage<br>> message, Int32 bufferSize)<br>>
at<br>>
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage<br>> message, WebResponse response,<br>>
Stream responseStream, Boolean asyncCall)<br>> at<br>>
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String<br>>
methodName, Object[] parameters)<br>><br>> I guess it's about some
configuration on client side or server side.<br>> Can someone tell me
what the fix is?<br>><br>> Thanks in advance,<br>><br>>
vick<br>><br>><br>> ________________________________<br>>
Stay in the know. Pulse on the new Yahoo.com. Check it
out.<br>><br>><br><br><br>-- <br>David Illsley - IBM Web Services
Development<br><br>---------------------------------------------------------------------<br>To unsubscribe, e-mail:
[EMAIL PROTECTED]
<br>For additional commands, e-mail:
[EMAIL PROTECTED]<br><br></soapenv:Envelope></soap:Envelope></
[EMAIL PROTECTED]></blockquote><br><p>
<hr size=1>Get your email and more, right on the <a
href="" href="http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview" target="_blank">
http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview"> new
Yahoo.com</a>
--0-1468242578-1159300441=:31885--