Skip to main content

Problem with SOAPAction HTTP header

16 replies [Last post]
rhaynie
Offline
Joined: 2005-07-20

Hello,

I am having a problem with the SOAPAction HTTP header item always being empty. I have tried the following through the Dispatch:

smDispatch.getRequestContext().put(smDispatch.SOAPACTION_USE_PROPERTY, new Boolean(true));
smDispatch.getRequestContext().put(smDispatch.SOAPACTION_URI_PROPERTY, "/GetITProfileAsXml");

This also results in an empty SOAPAction header. Am I doing this wrong?

Any help would be greatly appreciated.

Thanks,
Roger

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kwalsh
Offline
Joined: 2003-06-10

Hi-

We have attempted to reproduce this problem and have been unable to reproduce it.

If you can reproduce this problem in a small client program
and post it along with the wsdl I will take a look at it.

Thanks,
Kathy

kwalsh
Offline
Joined: 2003-06-10

Roger-
Please let me know if the problem
is not fixed with the build at the end of the week.
tx,
Kathy

rhaynie
Offline
Joined: 2005-07-20

Hello Kathy,

I downloaded the weekly and tried the above code, but it still produces an empty SOAPAction.

-Roger

kwalsh
Offline
Joined: 2003-06-10

ok-
I will check to make sure the fix got in.
If I find not I will reopen the bug and further
address this-
Sorry for the inconvenience-
Kathy

kwalsh
Offline
Joined: 2003-06-10

Hi-

I found that the fix had accidentally been removed. I will re-add the fix-
Sorry for the inconvenience-

Regards,
Kathy

rhaynie
Offline
Joined: 2005-07-20

Hi Kathy,

Is there any ETA for when the fix will appear in the weekly drops? I have tried every drop including 11/09, but none correctly sets the SOAPAction header.

thanks,
Roger

kwalsh
Offline
Joined: 2003-06-10

Roger-

Can you send me your full client?- I did fix this problem and verified that it was being set appropriately-

How are you verifying this?
The fix should have been in a drop by now-

Thanks,
Kathy

andrew_wot
Offline
Joined: 2006-03-09

What's the status on the update?
I am using Dispatch and when I set SOAPAction the very first time it works. But when I am trying to use same Dispatch for another call (need to mantain session state), using different SOAPAction, the old SOAPAction get sent over wire.
And the only way to get rid of initially assigned SOAPAction value is to create a new service and new dispatch, somehow creation of the new dispatch from the original service doesn't work. And because we need session state we cannot use that workaround.
Thank you.

kwalsh
Offline
Joined: 2003-06-10

Well-
This is a different problem than the one roger reported and is the first I have heard of the inability to update the
SOAPAction value after it is originally set. I may be looking at a SOAPAction problem with the proxy this afternoon or early next week so I'll look into this issue as well.
Kathy

rhaynie
Offline
Joined: 2005-07-20

Hello,

I hate to appear impatient, however is there any time frame to fixing the Dispatch so that it properly sets the SOAPAction HTTP header? I have tried each weekly drop since this thread started and we still can't communicate with the target service using a Java based implementation.

Thanks ahead of time,
Roger

kwalsh
Offline
Joined: 2003-06-10

Roger-
I have not forgotten and I apologize for the delay.
The fix will not be in this weeks drop, but will be in next weeks. Thanks for your patience.

Regards,
Kathy

kwalsh
Offline
Joined: 2003-06-10

Roger-
This is the correct way of setting this with the Dispatch API.
Currently, there is a bug with the implementation and the value is not getting set when using the Dispatch API.
This is a known problem and will been fixed in a future drop.

Thanks for using the Dispatch API.
Kathy

rhaynie
Offline
Joined: 2005-07-20

Hi Kathy,

Thanks for the quick reply.

Is there any workaround to manually set the SOAPAction Header?

thanks,
Roger

kwalsh
Offline
Joined: 2003-06-10

Roger-
No workaround currently exists-
I will try to fix this for the next frop-
Kathy

kwalsh
Offline
Joined: 2003-06-10

drop- please excuse the typo

rhaynie
Offline
Joined: 2005-07-20

Hi Kathy,

Would you happen to have some kind of time frame for the next drop?

thanks,
Roger