on 04-21-2008 9:14 AM
Hope somone can assist
I pass into .Net
and the content inlcudes SOAP runner access:
This sets me up with a web reference.
I then call the webservice
Dim webServiceTest As New ssmrav_dev01.XacuteWS
Dim mywebinput As New ssmrav_dev01.InputParams
Dim wrap As String
mywebinput.Area = "S"
Dim VARarray As ssmrav_dev01.Rowset
VARarray = webServiceTest.Xacute("sapdpsvc", "S1a2D3p4", mywebinput)
However the returned rowset is blank, this does not occur when using the equivalant call to
Could someone please advise correct protocol for accessing xmii via the soap runner.
I found the answer in a old blog. The add reference screen is not that intuitive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm attempting to do something similiar. The problem I'm having is in actually assigning the reference document to the transaction. Here's it what I have:
1. An xml document block in the transaction called DocOutput
2. I add to the xml document using the row transaction block
3. The results of the document are assigned to a XML output transaction variable
4. I''ve attempted to assign this document as the reference document for the transaction but I can't seem to get it to work. Maybe I don't understand the screen. Here's what I'm doing:
a. Choose assign reference documents menu item
b. Choose xml property of DocOutput from tree
c. Click "Assign Reference Document"
d. Click "OK"
Is there another step I'm missing ? I've looked through all the help and searched the forum.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is far less sinister than I initially anticipated.
When setting the transaction I never set a default xml output for my transaction, hence when the WSDL was generated the row sequence was left out.
<s:sequence id="RowSequence">
<s:element maxOccurs="1" minOccurs="1" name="TargetName" type="s:string" />
<s:element maxOccurs="1" minOccurs="1" name="TargetValue" type="s:double" />
<s:element maxOccurs="1" minOccurs="1" name="EngUnit" type="s:string" />
<s:element maxOccurs="1" minOccurs="1" name="TargetArea" type="s:string" />
By this being added to the WSDL, .Net and Web Dynpro can now miraculously read the SOAPRunner version of the transaction. Might I dare say hard coding in its truest form, baring platform constraints the Runner object will be my first choice over the SoapRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jason - you don't need to add this to the WSDL manually. All you need to do is use the "Assign Reference Document" menu option and assign a "sample" of your XML output structure to the XML output parameter directly inside of xMII, and the correct WSDL will be generated for you automagically.
Jason: You also need to set the user name and password via the input parameters to the web service (if you look at the .NET generated proxy, you'll see them in the structure).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.