on 07-09-2015 10:10 AM
Hello Experts ,
I am having soap to rfc synchronous scenario . Third party is using .NET technology . We have given them wsdl which they are consuming .
But third party is getting below error on call.
Failed to process by SAP, Error:Exception :The underlying connection was closed: The connection was closed unexpectedly.
Inner Exception
Even i am not getting anything in sxmb_moni neither success nor error message . Is it like the request is not reaching XI ? What is the problem . Please help .
Regards ,
Nikhil Save
Hi Nikhil,
The problem seem to be in .net code, check this thread Exception: "The underlying connection was closed: The connection was closed unexpectedl...
Ask to your .net partner that they try first with SOAPui to assure the communications and ports are right and open.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki ,
Thanks .
But tell me one thing , how can you say that problem is with .NET code ?
Because it is saying that failed to process by SAP.
I have reffered below link .It is also saying the same .
Regards ,
Nikhil Save
Hi Nikhil,
But tell me one thing , how can you say that problem is with .NET code ?
I think "seem" and not "is". I mean, i'm not totally sure, but if you have no trace in sxi_mointor or RWB in the adapter engine the problem could be in the request. In this way i said to you on the next time that your partner could try with SOAPui in order to assure the problem is not by firewall/port/network. I assume you have tested in your environment before share the wsdl that implies the scenario should work at least with your user, in this way i supposed if the connection is closes can be from the sender side and PI only notifies that the previous connection was closed.
Regards.
Hello,
1. Hit the end point URL in browser, if it's return sucessfull message (http code 200). your PI web service is working fine.
2. import the wsdl in to SOAP UI and send the data from SOAP UI to PI and see the result. if its gves you the sucessfull response then there is problem with SAP backend and SAP PI.
3. Also check the RFC in the backend itself, whether it is able to process fine (request and response).
All the 3 works fine then reach to sender (.net) team to check how they implemented the web service.
Regards,
Manigandan
Hi Inaki ,
Thanks .
Now we have installed altova on client's machine and we checked . So we got proper output in altova . So can we conclude that issue is at third party side?
One more thing is when i was checking through altova from my machine , i was getting an error as connection to the server can not be established. But same when tried from client's machine altova , we are getting proper response.
Regards ,
Nikhil Save
Hi Nikhil,
So we got proper output in altova . So can we conclude that issue is at third party side?
Yes, if you have tested in altova with the same user that .net application.
Also, you can conclude there is not network/firewall issues.
, i was getting an error as connection to the server can not be established.
This seems to be that your machine has not connectivity, at least for the port that you have defined inside the wsdl, Have your tried to set the URL connection directly in browser?, have you tried with the PI IP instead the host PI name?.
Regards.
HI Nikil,
You can do the above testing with SOAP UI also . for doing this testing there is no need of opening any firewall or ports.
First Download SOAP UI into your local desktop and keep the generated WSDL as-well on the desktop ,
Open the downloaded SOAP UI and follow the below steps
1. Goto File--> New soapUI Project
Now click on the Browse near to Initial WSDL/WADL.
2. select the required WSDL that you like to test .
3. Now under Projects which is at top to left side of SOAP UI screen you will find the message structure that created in SAP PI. now expand that structure.
4. Click on the Request which is there under the message structure.
5. Now a popup screen will appear for the request.
6. in that on left side you will find the fields which you had created in SAP PI and the endpoint on the top.
7. give the require data for the fields and at bottom to left side of SOAP UI screen you will find Request Properties, in that fill Username and password with you SAP PI credentials.
8. At last after providing all the above details click on the submit request icon will will be in green color near the endpoint .
9. now at the right side you will get the response from SAP. if you get as required then you can say that interface in SAP PI is up and running fine. If not you will get the error logs as well.
Regards,
Yugandhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.