|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Invoking WMB Web Service from VB .NET application |
« View previous topic :: View next topic » |
Author |
Message
|
gerardmaj |
Posted: Thu Oct 08, 2009 8:22 am Post subject: Invoking WMB Web Service from VB .NET application |
|
|
Newbie
Joined: 16 Sep 2008 Posts: 9
|
Hi. I have created and deployed a BAR that provides a Web Service -based on the SOAP Nodes samples. I have tried to add the deployed Web Service as a Web Reference in a VB .NET application. I get an error 'Invalid Content-Type HTTP Header. Content-Type was missing, malformed or null'. I would be very grateful if someone could advise how to correctly access a WMB web service from VB .Net application? Thanks. |
|
Back to top |
|
 |
ovasquez |
Posted: Thu Oct 08, 2009 11:22 am Post subject: |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
i don't know .Net but about your error, maybe is missing this HTTPHeader:
Content-Type="text/xml"
So you add this header when you invoque WS. _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Oct 08, 2009 11:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also, please be aware that Broker does not support the ?wsdl syntax yet.
So if you are trying to use a tool that expects it can fetch the WSDL for a service from the service itself, you will not be able to.
You must export the WSDL from the Toolkit and point your tool at it on a file system somewhere. |
|
Back to top |
|
 |
gerardmaj |
Posted: Thu Oct 08, 2009 11:55 pm Post subject: |
|
|
Newbie
Joined: 16 Sep 2008 Posts: 9
|
Hi, exporting WSDL to file system works. Thanks for that. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|