ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Invoking WMB Web Service from VB .NET application

Post new topic  Reply to topic
 Invoking WMB Web Service from VB .NET application « View previous topic :: View next topic » 
Author Message
gerardmaj
PostPosted: Thu Oct 08, 2009 8:22 am    Post subject: Invoking WMB Web Service from VB .NET application Reply with quote

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
View user's profile Send private message
ovasquez
PostPosted: Thu Oct 08, 2009 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Oct 08, 2009 11:35 am    Post subject: Reply with quote

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
View user's profile Send private message
gerardmaj
PostPosted: Thu Oct 08, 2009 11:55 pm    Post subject: Reply with quote

Newbie

Joined: 16 Sep 2008
Posts: 9

Hi, exporting WSDL to file system works. Thanks for that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Invoking WMB Web Service from VB .NET application
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.