Skip to Content
author's profile photo Former Member
Former Member

WebService parameters

Hi anyone out there,

I am writing a web service and have a proxy inside it. I am trying to pass in SAPTables from outside the webservice. I realised two things:

1. If I am connecting the asmx file with another client with sap.net connector i can pass the actual SAPTable object in. when i do this, and declare the item in the parameters, the xml tag generated by the webservice has two instances of the table structure. for example:

<PtblPoItems>

<BAPIEKPOC>

<PO_ 5fNUMBER>string</PO_ 5fNUMBER>

...

...

</BAPIEKPOC>

<BAPIEKPOC>

<PO_ 5fNUMBER>string</PO_ 5fNUMBER>

...

...

</BAPIEKPOC>

</PtblPoItems>

Logically since this is a table, each of this instance (am not sure, not a VB.Net guru) will represent a line item (correct me if i am wrong), does this mean that the current table during run time has two empty lines in it?

What is the best way to pass in parameters into a web service?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 07:09 AM

    also wondering is there a simpler way to expose all the methods as web service instead of creating an asmx wrapper? I am looking at created a web service which does not require connector runtime on the calling machine...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.