on 02-27-2018 8:55 AM
Hi Experts,
I created the webservices based on below link,
https://blogs.sap.com/2012/10/24/how-to-create-web-services-abap-based/
But i am unable to pass input from soap ui to sap ,Also the external breakpoint which i set in FM is not triggered during the execution, If i hard code the input in RFC functional module i can able to get the FM's output in soap ui.
Pl help me to resolve.
Regards,
Sathesh.
Might want to check the endpoint used in your SOAPUI project and the user used to logon through SOAPUI. Does it correspond with the user you set your external breakpoint for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aris van Mazijk,
Thanks for the reply,
Yes both are correct, i can able to receive thee output in SOAP UI if hard code the input in FM , i can get the output in SOAP UI.,
pl advice
Well, obviously you get an output whenever you hard-code the input in your FM, but that's not the point here 🙂
Have you try reaching your endpoint in a normal web browser? Do you see an XML? (after entering your credentials)
Can you post a screenshot of your request also? Might be something related to your payload...
Okay, this might be a long shot, but have a look at this:
Bummer, then I'm running out of options too. Like holakac suggested, try looking into transactions SICF and maybe SOAMANAGER to see if all your objects, endpoints, etc are activated and correct.
First, did you try to set an external breakpoint under the user entered as login user in the "Logon Data" tab?
Hi Aris,
Thanks a lot,
It is working if i put a external breakpoint and run,
Is it possible to display output in the internal table in SOAP instead of one varialble,
i tried displaying the output in internal table but i got the error as i have to gv input in internal table also eventhough i gave internal table as optional ,pl find the attached.
pl advice .
Sure it's possible, but you need to map the internal table results to the response message of your webservice. For that, you might have to adjust the interface of your function module to accept the specific internal table as an output parameter instead of just the MATNR. Don't forget to mark my previous answer as correct (if it was helpful off course) in order for this thread to be labeled answered.
Totally unrelated to your issue, but you might want to reconsider the queries you are making in ZSAMPLE. With the first one you might as well use SELECT SINGLE and get rid of the ENDSELECT. The second one you might want to refactor to INTO TABLE and also drop of the ENDSELECT.
As for your issue, it looks that somewhere along the way a cx_sy_conversion_no_number exception has occurred. Check if transaction ST12 gives you any information on where this might have happened.
What response do you see in SOAP UI ?
Do you have the webservice/RFC function allowed/active in SICF transaction ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.