WM 7.1.1 pub.client.soapClient httpHeader

I am unable to add HTTP headers in WM7.1.1
It uses pub.client.soapClient (to create and post the SOAP message over https) in the WSD created from WSDL.

Thanks,
Ravi

Hi Ravi,

Yes I also observed we cannot add Http Headers.
But if you see references for soapClient it uses wsHTTP (in WmRoot) and this service has input for http header ‘headers’

Although I have never tried this but if you feel its ok then you can try :
create pipeline variable ‘headers’ with key - values inside it (same like pub.client.http) and call soapClient without dropping ‘headers’

Let me know if this works.

Regards,
Sumit

Already tried that… did not work.

Sumit, How can we see references for Java services? I know we can check references for flow services.

Since it works in 6.1 which uses httpClient with ‘headers’, I copied the package on 7.1. When I ran the service in wm7.1 it gave me an exception
Could not run ‘AssetQueryPage’.

com.wm.app.b2b.server.ServiceException: [ISS.0088.9155] this SOAPMessage does not contain a valid Envelope object

Thanks,
Ravi

Hi,

For java service, you need to check java code :slight_smile: I know its tough in this case.

I am not sure about the error which you are gettin,. please elaborate.

Regards,
Sumit

I placed a request to SoftwareAG. Hopefully they provide a solution.

Hi Ravi,

Did you find solution in it? we are facing the same issue.