After Publishing a Schema as Webservice
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > After Publishing a Schema as Webservice




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    After Publishing a Schema as Webservice  
Neal Walters


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-12-04 07:46 AM

I published a tiny little schema as a webservice just to understand the
concept.
The schema only has three fields (poamt, podate, ponum).

I created a Windows form to test on a button-click event.

Dim x As New localhost.DWEasyPO
x.poamt = 500
x.podate = #3/5/2004#
x.ponum = "DWY-001"

Dim ws As New localhost.DwyerWebServicePO
ws.WebMethodPO1(x)     '<--- blows up here
msgbox "okay"

So my understanding is that if it works, it should put an instance of the
message in a receive port, then I could have send ports subscribed to that.
The wizard created a receive location called:
WebService_BizTalkWebServiceDwPO/DWebServicePO with the appropriate SOAP
transport type and web service address.

I'm blowing up in this line of code (from code sample above):
ws.WebMethodPO1(x)

with this exception:
An unhandled exception of type
'System.Web.Services.Protocols.SoapException' occured in
system.web.services.dll.  Additional info: ... Internal SOAP Processing
Failure at Microsoft.Biztalk.WebServices.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] in ParamInfos, ParamI
nfo[]
outParamInfos, Int32 bodyPartInex, String bodyType, ArrayList

and the higlighted line of code in theproxy is:
Dim results() as Object = Me.Invoke("WebMethodPO1",
New Object() {DWEasyPO})

Also, when running the publish/wizard, I wasn't sure how to omit the
response from the Request/Response.   I still don't get how submitting a
schema can really have a response.

Thanks in advance,
Neal Walters
http://Biztalk-Training.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:58 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register