views:

23

answers:

0

I'm tasked with accesssing a 3rd party web service and have run into an issue that I haven't been able to resolve.

This web service requires some security headers to be sent. I have created a SOAPExtension that successfully sends the headers as expected, and am able to use the web services. However, other web service clients are negatively impacted by this extension, and I have found no articles on how to prevent a SOAPExtension from impacting other clients. Every article I have found assumes only one web service in the project, thus no mention of how the extension might impact other web service calls.

I tried to conditionally execute my headers code based on the URL that I'm attempting to hit, but it seems that no matter what I do in that code, it negatively impacts the other web service clients and services. I always end up with http status of 400: bad request.

Does anyone have any ideas about how to resolve this? Any pointers to articles would be most appreciated, or actual solutions... ;)