I
itsprabhu
Hi all i have generated java files from wsdl using WSDL2Java. I need to
invoke a method in the web service.There is a stub file generated and
iam using them to test. I want to change the request headers .
Generated one
POST / HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.4
Host: localhost:8008
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:Login"
Content-Length: 441
Expected one
POST / HTTP/1.1
Authorization: Basic cHI6cHI=
Content-Length: 441
Content-Type: text/xml; charset=utf-8
User-Agent: Java/1.5.0_09
Host: localhost:8008
SOAPAction: "urn:Login"
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
I have tried setting using call.setProperty() but still not working.
Can anyone help me out in this its very urgent....
Thanks,
Prabhu
invoke a method in the web service.There is a stub file generated and
iam using them to test. I want to change the request headers .
Generated one
POST / HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.4
Host: localhost:8008
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:Login"
Content-Length: 441
Expected one
POST / HTTP/1.1
Authorization: Basic cHI6cHI=
Content-Length: 441
Content-Type: text/xml; charset=utf-8
User-Agent: Java/1.5.0_09
Host: localhost:8008
SOAPAction: "urn:Login"
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
I have tried setting using call.setProperty() but still not working.
Can anyone help me out in this its very urgent....
Thanks,
Prabhu