Call a Web Service WSDL with VB.NET -


please can me before go stir crazy in trying figure out. sql dba has self taught myself vb.net interact sql databases have in-house data input etc.

i have web service trying build 'loader' provided java based 1 company in question gave cannot deal multiple files , can deal 1 file @ time.

https://openinterchange.openecommerce.co.uk/openinterchange/openinterchange?wsdl

this url of wsdl. have automation software has inbuilt webservice/wcf executer, while great @ , job doesn't work .net having myself manually.

essentially need fire xml using particular function above wsdl return response application.

now according automation program uses 'openinterchange' class , uses openinterchange.xstreammessage(x,x,x,x,1) method return information.

i ended along lines of

    dim myservice new xstreamuat.xstreammessagerequest(brokreftxtbx.text, bnumtxtbx.text, lickeytxtbx.text, "this", 30)      dim myresult new xstreamuat.xstreammessageresponse(myservice.tostring)      msgbox(myresult) 

but i'm getting nothing, missing point. can't give details login wsdl link think there enough information there point me in right direction.

update

i changed of code , added:

public class form1 implements xstreamuat.openinterchange 

and updated bottom of vb loads of functions, empty...

public function getmessages(request xstreamuat.getmessagesrequest) xstreamuat.getmessagesresponse implements xstreamuat.openinterchange.getmessages  end function  public function instreammessage(request xstreamuat.instreammessagerequest) xstreamuat.instreammessageresponse implements xstreamuat.openinterchange.instreammessage  end function  public function processmessage(request xstreamuat.processmessagerequest) xstreamuat.processmessageresponse implements xstreamuat.openinterchange.processmessage  end function  public function returnresponse(request xstreamuat.returnresponserequest) xstreamuat.returnresponseresponse implements xstreamuat.openinterchange.returnresponse  end function  public function xstreammessage(request xstreamuat.xstreammessagerequest) xstreamuat.xstreammessageresponse implements xstreamuat.openinterchange.xstreammessage  end function 

obviously these functions return nothing, can pleas eadd wsdl , tell me i'm going wrong here, i'm pulling hair out , lack of information on web particular wsdl doing me over.

i supposed able fire data service using xstreammessage method openinterchange class , return response web service, can't send message!! :(

cheers.

dim client new xstreamuat.openinterchangeclient()  dim xmlresponsetxt= client.xstreammessage(brokreftxtbx.text, bnumtxtbx.text, lickeytxtbx.text, "this", 10) 

i declaring wrong objects task in question. in end expanded on following code:

        'specify binding used client.         dim binding new basichttpbinding(basichttpsecuritymode.transport)          'specify address used client.         dim address new endpointaddress(huburltxtbx.text)          ' create client configured address , binding.         dim client new xstreamlive.openinterchangeclient(binding, address)          globalvariables.response = client.xstreammessage(brokreftxtbx.text, bnumtxtbx.text, lickeytxtbx.text, "this", 10)         xmlresponsetxtbx.text = prettyxml(globalvariables.response) 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -