cancel
Showing results for 
Search instead for 
Did you mean: 

Testing of SOAP to FILE Scenario

former_member185881
Active Participant
0 Kudos

Hi all

I have done with SOAP to FILE scenario.

--> while defining web service what we need to give in the URL????

--> How to test this SOAP to FILE scenario to see wheather it is working fine or not, what are the all options

Thanks

Dheeraj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

--use this URL while creatig wsdl

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>

in ur case <party> is not required...just mention service name (business service name) and communication channel (SOAP)

--For testing purpose,

Use Altova XML spy...(other softwares are also available)

from IR, in message mapping..goto TEST tag and copy xml content and save that as one *.xml file.

now open Altova XML Spy, in main tag their one tag(don't remember) ..u will find something like create new request ..choose that and enter ur wsdl file path...then u will find send soap request under one tag..choose that...copy xml file filled with request value...and send it

Regards,

Manisha

former_member185881
Active Participant
0 Kudos

Hi manisha

can i test my scenario using Microsoft InfoPath.

if yes then how plz tell me if u know

Thanks

Dheeraj Kumar

Former Member
0 Kudos

Hi Dheeraj,

Definitely you can test it through the microsoft infopath tool.

steps to follow:

Executing wsdl File Using Microsoft Info Path

1.>Click on the design a from template

2.>Select the Web service icon and click ok

3.>Select the radio button u2018receive and submit datau2019 and click on next.

4.>Enter the path of the generated wsdl which u have saved and click next.

5.>Select the interface and click next

6.>Select the interface and click next.

7.>Double click on parameters.

8.>Double click on the parameter (which you want to send as request). Then click on the query field and click ok.

9.>Click next. And click Finish

10.>Now drag the query fields on the data fields to the left side. And click preview.

Please follow these steps I hope you will be able to test it.

Thanks and regards,

Nutan

former_member185881
Active Participant
0 Kudos

Hi Nutan

kya haal chaal?

7.>Double click on parameters.

8.>Double click on the parameter (material). Then click on the query field and click ok.

i didnt understand this??????

Thanks

Dheeraj Kumar

Former Member
0 Kudos

Sorry Dheeraj,

I have never used Microsoft InfoPath.

Regards,

Manisha

Former Member
0 Kudos

Hi Dheeraj,

Bas haal chaal thik hai....

I have edited the message please check it, choose the field name which you want to send as request.

Thanks

Nutan

former_member185881
Active Participant
0 Kudos

Hi nutan

I am getting success in moni and also getting a messgae in infopath that message is sucessfully submited but i am not getting the file in the target directory, why?????

the scenario is SOAP to FILE

File adapter i am using as a NFS

this is my target directory---- /E:/working Folder Dheeraj/Project/SOAP2FILE/

Thanks

Dheeraj

Answers (5)

Answers (5)

former_member185881
Active Participant
0 Kudos

Nutan Champia solved my prob fully. So awarded a points

former_member185881
Active Participant
0 Kudos

..

Edited by: Dheeraj Kumar on Mar 5, 2009 4:29 PM

former_member206760
Active Contributor
0 Kudos

dear dheeraj,

goto cofig and define new webservice..

give the url as

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<ServiceName>:<Channel Name>

after that give the uoutbound interface name..etc..

then say save ...uit will create a .wsdl file

you can now test this .wsdl file in altova xml spy..

in altova goto soap->crete new soparequest...browse and select the wsdl that you had saved ...then again goto soap->send soap request...

this would ask for for a userid and pwd for the 1st time ..you can give XI user id and pwd

Give points if useful

siddhesh_pathak4
Contributor
0 Kudos

--> while defining web service what we need to give in the URL????

Answer : http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=:BS:CC

Provide URL in this format.

--> How to test this SOAP to FILE scenario to see wheather it is working fine or not, what are the all options

Answer:

You can test it from SOAPUI if it is availble. You can directly call the URL from Web browser check if it is pointing to your XI server.

Former Member
0 Kudos

Hi Dheeraj,

In URL , use the corresponding values according to your scenarios.

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>

You can use Altova XML Spy tool to send SOAP request to the webservice.

Regards

Ashwin kumar Dhakne

Edited by: ashwin dhakne on Mar 5, 2009 2:44 PM

Edited by: ashwin dhakne on Mar 5, 2009 2:48 PM