on 08-03-2006 11:25 AM
Hallo,
I need a big help...
I develop on SAP version ERP Central Component 5.0.
I generated a Web Service from a BAPI (BAPI_PROJECT_MAINTAIN but it's better to work on a simpler BAPI custom to understand...) using the Sap Wizard in SE37. Now, with the WSDL generated and XMLSpy software, I consume my Web Service with no problem from my PC.
One of our customer is trying now to develop a visual basic client to consume this WS but with no good results...
I made a simple bapi with an input string and an output string parameters, and this simple case run with no problems with this code:
Module TestSap
Private S_SAPE_Client As MSSOAPLib30.SoapClient30
Private sReply As String
Private sValore As String
Public Sub Main()
S_SAPE_Client = Nothing
S_SAPE_Client = CreateObject("MSSOAP.SoapClient30")
'--> test
S_SAPE_Client.MSSoapInit("http://sap_test:8000/sap/bc/srt/rfc/sap/ZWS_PROJECT?sap-client=010&wsdl=1.1&style = rpc")
'--> test
sValore = "TEST"
sReply = S_SAPE_Client.ZzbapiTestWsConnection(sValore)
MsgBox(sReply)
S_SAPE_Client = Nothing
End Sub
End Module
We don't know how to implement it for a bapi with complex types for parameters...
Have you any example to illuminate us??
Thanks in advance....
OPS... I'm sorry...
I put this topic in the wrong forum...
This for I work often with XI!;-)
I don't know how to move my request..
Hope someone could help me the same...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.