cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP - File scenario test

Former Member
0 Kudos

All,

I created a test scenario SOAP 2 File.

Imported an external definition XSD for defining the o/b and i/b interfaces.

Generated WSDL using the wizard.

Used xmlSPY to test the scenario and no errors reported.

Received a file in the target directory.I am not sure about the file in the target directory. (I think it is the imported external definition imported)

Now how can I send the data to the target directory using WSDL in the xmlSPY.

reg,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Naveen,

Just do the following steps:-

1.In the WSDL u created of ur Ob interface and imported in XML spy. Create a soap request(one option available in the XML spy menu).

2.When u click it automatically soap request will created asking u the input params u had specified while creating ur Ob interface in XI.

3.Specify the paramters and send this request.This data will automatically will be passed to XI and then to Receiver.....

Hope this helps.

Regards,

Ashwin M

Former Member
0 Kudos

hi Ashwin,

I did all of them already.

I have done:

1.Started XMLSPY and selected, SOAP>Create new SOAP request>

Now u r asked to browse for the wsdl....DONE. Clicked on OK

Now the request created as an xml file.

2.Go to SOAP> Send SOAP request > there is a new xml file which is the response.

I did not get any errors. I see a file in the target directory.

My problem is where it is really picking up the data.

WSDL has only referrence to the definition of the message type

(in the definition of O/B interface )

Please help me understand and correct me if I am wrong.

reg,

bhavesh_kantilal
Active Contributor
0 Kudos

In XML Spy, you can enter the data for your Interface in the WSDL. If you do not eneter the data the default data ( String, Int ) etc are passed to XI.

When you open the WSDL in XML spy to create the SOAP request you can fill in the Request values. Just go to the text View, and eneter the values against each element.

Regards

Bhavesh