cancel
Showing results for 
Search instead for 
Did you mean: 

web service not found through URL

ross_goodman
Participant
0 Kudos

I have a sending system that is attempting to use a url to send a request in to PI, ie

http://ixdfvm2160:51000/XISOAPAdapter/MessageServlet?channel=:bs_jbiz:comm_sales_order_check

This is failing with the error message

Post Error: -2146697211 - The system cannot locate the resource specified

They are supplying a user ID and password.

Where do I go in PI to see the config that produces the URl and to see why the resource is not being located?

Note that the channel comm_sales_order_check is existing for business service bs_jbiz.

Cheers,

Ross

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check for any extra speaces at the end of URL.

Did u checked:-

1. Generated WSDL file using XML spy software.

2. Did u send test request using XML spy software.

Chirag

Answers (4)

Answers (4)

Former Member
0 Kudos

Ross,

Once you have generated the wsdl in the required format it is always a best way to test it using using Altova XML SPy.

Once you execute the wsdl using this you will find wher the error is.

Regards,

Sainath Chutke

Former Member
0 Kudos

Hi Ross,

1. Check your url again & again in XI. Is it correct or not?

2. Are you posting to the right url?

2. Compare the XSD structure between what is being used in XI & the XSD you are posting.

ross_goodman
Participant
0 Kudos

Hi Guys,

1] The RWB user was locked, so unlocking it allowed me access to the RWB.

2] In RWB the message monitoring shows there is an exception occurring in the message mapping, so that is my next place to check.

Introduction to a product by taking over a deliverable 4 weeks before deployment with 16 message transfers, no documentation, and only a limited amount of time with PI monitoring tools is DIABOLICAL, so THANK YOU for your help everyone. YOU ROCK! This learning curve is going to be very steep indeed & I am glad you people are out there and willing to lend your time.

Ross

Edited by: Ross Goodman on Jul 28, 2010 9:49 PM

Former Member
0 Kudos

Try to check

1. Message mapping using test tab in IR.

What exact error r u getting in RWB.

Did ur SOAP adapter is working fine now?

chirag

ross_goodman
Participant
0 Kudos

Actually it looks as though the error message is from the SOAP ADAPTER as below. Also I notice that the message interface that the message mapping believes it belongs to in the repository doesn't exist presently. How that would come about I have no idea (not my work so I can't tell if it did exist ever).

***ERROR IN RWB**

Received XI System Error. ErrorCode: EXCEPTION_DURING_EXECUTE ErrorText: ErrorStack: com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_jbiz_sales_order_check_to_sap_s: RuntimeException in Message-Mapping transformatio

There are several other interfaces all working prefectly via the SOAP adapter, just not this one.

Ross

ross_goodman
Participant
0 Kudos

This is the response the sending party is receiving in their system when the error happens,

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>

<context>XIAdapter</context>

<code>RecoverableException</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Former Member
0 Kudos

Did u check ur message mapping in using test tab.

What is the status of message in SXMB_MONI

chirag

ross_goodman
Participant
0 Kudos

Chirag,

The message mapping tests fine but I don't think the data is getting that far. I THINK the failure is on the way in to P as its an application error we are getting now. System is down right now but I will look up the status in SXMB_MONI as soon as its back up.

Ross

ross_goodman
Participant
0 Kudos

Gentlefolk,

I have had enough of working with someone elses stuff!! SO I am going to model it from scratch.

Scenario =>

SystemA (non SAP) makes synchronous request to SAP.

SAP receives response and sends back results (again synchronous).

Repository objects require

4 Data Types:-

DT_SystemA request

DT_SystemA Response

DT_SAP request into SAP

DT_SAP response from SAP

4 Message types (one for each of the data types):-

MT_SystemA request message (into PI)

MT_SystemA Response message (into SystemA)

MT_SAP request message into SAP (into SAP

MT_SAP response message from SAP (into PI)

2 Message Interfaces:-

MI_ SYSTEMA_REQUEST_SYNCH

MI_SAP_RESPONSE_SYNCH

2 Message Mappings:-

MM_[MT_SystemA request message (into PI) to MT_SAP request message into SAP (into SAP)]

MM_[MT_SAP response message from SAP (into PI) to MT_SystemA Response message (into SystemA)

1 Interface mapping:-

MI_ SYSTEMA_REQUEST_SYNCH TO MI_SAP_RESPONSE_SYNCH

Someone care to cast an eye over this and check it for me?

Cheers,

Ross

ross_goodman
Participant
0 Kudos

Thanks guys.

I understand what is being said about the URL itself, but I would really like to understand the mechanism in PI (version 7.0) to go about creating the URL as part of the configuration process.

So really I need to know how once I have the sender agreement in place I actually set about publishing the web service to be used by the sending party.

I have found a "Define web service...." activity in the application but I am not sure if that is what I am meant to use on this version of PI.

ALSO for existing interfaces already published , how can I see the url linked to those inside the PI system?

Don't want much do I

Former Member
0 Kudos

These are the steps which u need to follow incase its a SOAP sender-

1. Generate WSDL file using Defien webservice.

2. Use WSDL file as external definition in IR.

3. Configure ur SOAP sender adapter give interface name and name space.

4. Use the WSDL link to send the data to XI.

Have u done the above process.

U can also refer the below link

How to use SOAP adapter:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

U will get the WSDL URL in Generated WSDL file u need to scroll down.

chirag

ross_goodman
Participant
0 Kudos

Hi,

The URL appears to be fine structurally so I tested it from SOAP-UI. I got the following error result

<context>XIAdapter</context>

<code>RecoverableException</code>

<text>com.sap.aii.af.ra.ms.api.DeliveryException: XIProxy:PARSE_APPLICATION_DATA:

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text

Been hunting but can't find any useful information regarding this error. Will keep hunting!

Former Member
0 Kudos

Where exactly ur getting this error.

Did u checked

1. SOAP channel in RWB.

2. Message in MONI.

chirag

ross_goodman
Participant
0 Kudos

Chirag,

I am using SOAPUI to test the web services. Will be looking at RWB and MONI but haven't done so yet as I was just checking the particular web service against others that are testing fine from soapui to make sure the URL was structured correctly. Will let you know what I find.

Ross

ross_goodman
Participant
0 Kudos

When I try to use the RWB I am informed my user is not authorised, this same user is the one I use to succesfully access the repository and directory with no trouble at all. IS there somehere I can go to check the access levels in RWB for this user id?

Ross

Former Member
0 Kudos

For RWB user shud have below roles assigned

SAP_XI_RWB_SERV_USER

SAP_XI_RWB_SERV_USER_MAIN

check in SU01 tcode.

What bout ur SOAP error? is it still having issue.

chirag

venkatanarayana_vagu
Active Participant
0 Kudos

Hello Ross,

The sending application must send the message to the address in the following format:

http://<hostname>:<port>/ XISOAPAdapter/MessageServlet? channel=

<party>:<service>:<channel>

seems it is missing the colon in the mentioned url.