Hi all,

I Have a little problem when in a WebService context make a call to another webservice.

 

Example:

 

1. A Stub make a call to webservice X.

 

   By SOAP Monitor, I see this http request:

 

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.2.1

Host: 127.0.0.1:8090

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 24964

 

2. Webservice X make a call to WebService Y by:

 

            call.setRequestMessage( MessageContext.getCurrentContext().getRequestMessage() );

            call.invoke();

            return call.getResponseMessage();

 

     By SOAP Monitor, I see this http request:

 

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.2.1

Host: 127.0.0.1:8090

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 26740

accept: application/soap+xml, application/dime, multipart/related, text/*

user-agent: Axis/1.2.1

host: 127.0.0.1:8090

cache-control: no-cache

pragma: no-cache

soapaction: ""

content-length: 24964

and so on…if Y call Z…

 

Anyone have some suggestion to avoid this ?

Does Exist some method to remove old http header ?

 

Thank’s

Gigi

 

 

 

 

Reply via email to