Webservice Consumer: Passing XML data

Hi all,

I’m new in creating a Webservice Consumer Script.

I imported the WSDL file into a LS Library and created a little agent:

Sub Initialize

Dim isiBizAdapter As New IsiBizOMAdapterSoap_n0

Dim xsd As New XSD_STRING()

Dim res As New XSD_STRING()

Call xsd.setValueFromString(“abc”)

Set res = isiBizAdapter.ProcessRequest(xsd)

Messagebox erg.getValueAsString()

End Sub

Now, the xsd string in the “ProcessRequest” function should contain the following XML data:

<?xml version="1.0" encoding="utf-8" ?>

<om:request

xmlns:xs="http://www.w3.org/2001/XMLSchema" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://tempuri.org/isibizomrequest.xsd C:\projects\ibm\isiBiz\rvAdapter\work\isiBizOMAdapter\schema\isibizomrequest.xsd"

xmlns:om="http://tempuri.org/isibizomrequest.xsd"

orderingSystem="ALMA">

<om:order>

	<om:requestingUser>105099</om:requestingUser>

	<om:receivingUser>105099</om:receivingUser>

	<om:department>IT SW</om:department>

	<om:room>A201</om:room>

	<om:desiredDeliveryDate>2008-11-01</om:desiredDeliveryDate>

	<om:items>

		<om:item number="1" materialNo="TSM10040">

			<om:orderingSystemOrderReference orderId="ALMA0001" orderItemId="ALMA0001JU" />

			<!--<om:attributes>

			<om:attribute name="LN Datenbank Name" value="DE" />

			<om:attribute name="LN DB Nummer" value="DE" />

			<om:attribute name="Was soll mit den Daten passieren?" value="DE" /

			<om:attribute name="An wenn sollen die CD's geschickt werden?" value="DE" />

			</om:attributes>-->

		</om:item>

		

	</om:items>

</om:order>

</om:request>

My question:

How do I assing these required data to the XSD_STRING called by the function?

thanks for any ideas

Marcus