Creation of client proxy for a WSDL with 2 port types??
Hi,
I am trying to consume an external web service from SAP - ECC6.0. The WSDL file has 2 porttype definitions - one for i/p and one for o/p
When I proceed with SE80 to create a client proxy, it asks me to select any one port type to generate the client proxy. If I select only the input port, it generates proxy for the input port alone.
In this scenario, how do I create proxies and configure logical ports, and call it from a single program to invoke the whole web servie with both i/p and o/p?
TIA,
Regards
Deepthi
Hi,
i. Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
ii. Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
Check this, it may help you
http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
REgards
Seshagiri
Similar Messages
-
Create a Client Proxy for consume wsdl via https URL return a 110 HTTP code
Dear all.
I has new in this forum, and i have a problem when trie to create a client proxy from external WSDL, using https URL, system returns me a 110 http code. For others externs WSDL called via http don´t have any problem, and create client proxy perfect
Someone can help please.
best regards in advance.Dear Anton I download de WSDL definition in a local file, but when I trie to use, the error persist.
If I test de URL via WebService navigation option, this work correctly, but if I put this URL thats begins with https, in se80--> create client proxy -->insert URL and then system returns the message HTTP error (return code 110, message "")
What it´s happen?.
Best regards in advance.
Juliá -
Creation of client proxy out of WSDL?
Hi ,
I need help in creating client proxy out of WSDL. It would be very helpful if someone lets me know the usage of performing this .I'm not much familiar with web services.
Regards,
Christina.Hi,
right click on your package
create --> Enterprise Service / Web Service --> Proxy Object
-> URL/HTTP destination
-> Specify WSDL URL
Sometimes naming conficts occur.
Save and activate the proxy.
And then you have to call the proxy from a client application
regards -
Creation of Server Proxy for Message interface with External Defination
Dear All,
I am getting a problem while generating a server proxy for the inbound interface . The request message used in the inbound interface is a external definition which is uploaded using a XSD file. The XSD file was supplied by a third party which is having very high complex strucuture and used lot of abstract data types in the design. When i tried to generate the proxy in the R/3 system (Transaction SPROXY) for the inbound interface i am getting following error.
Interface uses external and internal message definitions
Message no. SPRX122 *
Diagnosis
In a message interface you can use messages from different sources:
Message types and fault message types edited in the Enterprise Services Repository
Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
System Response
The interface cannot be generated.
Procedure
Change the interface definition accordingly in the Enterprise Services Repository.
Please guide me, how to generate the proxy for the interface with external defination message. I could nt geneate manullay, because it is having very high complexity and its a big structure.
Is there is any way to generate the proxy for interface with external definition
Regards
VijayanandHi,
i. Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
ii. Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
Check this, it may help you
http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
REgards
Seshagiri -
Creation of Material Master for a material with Material Type NLAG
Hello Sirs,
I have to create a material which will be consumed directly. I would use the
material type NLAG (Non stock material). If I create a material with this material type, will it contain an Accounting view where in I can maintain the price of the
material? If it contains an Accounting view, which type of Price control should be
used (Moving average or Standard)? Further, can we maintain an info record for
a material with material type NLAG?How the price updation happens?
Regards
YogaHi Madhu,
Thanks for your reply. But, I have one more doubt. For non stock materials, we
will specify the cost centre and G/L account at the time of creation of Purchase order. Then, do we have to specify the valuation class at the time of creation of
Material Master since there is no automatic account determination?
Regards
Yoga -
Namespace Error when generating Client Proxy for Java Web Service
Hi.Experts:
When I want to generating a Client Proxy for my WSDL file created by JAVA,it seems that some namespace errors occur.
The error like this:
"Incorrect value: Unknown Namespace http://sql.java
Exception of class CX_SLIB "
I checked all the SOAP runtime,it seems no error.So do I need to create the objects in the Integration Repository??If it is the truth,then how can I do it.
Best Regards
Martin XieHi Martin
I didn't find this options in SAP GUI Create -->Enterprise Service ->Consumer Service ->url/http
Maybe my version is different.
You say that you can select the file ou url.
Did you select the file or url?
If was file, open this file, find the tag that you have the wrong namespace and eliminate this tag.
If was url, access this url, copy the xml and same in one file, then select this file in the step above.
I don't know if works, its only a suggestion.
regards
Marcos -
Building client proxies for web services with SOAP attachemtns
Hi all.
I'm currently building a series of web services that take SOAP attachments as
input, but I am unable to generate the java proxies for testing the services via
WebLogic Workshop 8.1. When I attempt to build the proxy, I get the following
error:
Warning: Failed to generate client proxy from WSDL definition for this service.
Suggestion: Please verify the <types> section of the WSDL.
Is there something I need to alter to get this to work, or does workshop not support
client proxies for web services with DataHandler parameters?
Thanks.
-BrianThanks for the help. This is my first web service with SOAP attachments, so it
may have been a long time till I realized that.
-Brian
"Michael Wooten" <[email protected]> wrote:
>
Thanks Brian,
The problem is that you are trying to use the "document" soap-style :-)
If you change this to "rpc", you'll should be able to successfully generate
the
client proxy jar. The soap-style property, is at the bottom of the "protocol"
property sheet section, for the JWS.
Regards,
Mike Wooten
"Brian McLoughlin" <[email protected]> wrote:
Sure, sorry about that. Attached is the wsdl for a sample web service
I created
just to test the proxy generation.
"Michael Wooten" <[email protected]> wrote:
Hi Brian,
Would it be possible for you to post the WSDL, so we can see what might
be causing
the problem?
Regards,
Mike Wooten
"Brian McLoughlin" <[email protected]> wrote:
Hi all.
I'm currently building a series of web services that take SOAP attachments
as
input, but I am unable to generate the java proxies for testing theservices
via
WebLogic Workshop 8.1. When I attempt to build the proxy, I get the
following
error:
Warning: Failed to generate client proxy from WSDL definition for
this
service.
Suggestion: Please verify the <types> section of the WSDL.
Is there something I need to alter to get this to work, or does workshop
not support
client proxies for web services with DataHandler parameters?
Thanks.
-Brian -
Problems creating a client proxy for a WS
I've tried creating a client proxy from a wsdl but I've had no luck getting it to work.
First of all I created the client proxy in se80 with instructions from a teched lecture. The proxy seems to be generated as intended. When I create the default logical port for the proxy in lpconfig, it doesn't get any URL at all by default in the Call Parameters tab. Atleast in the teched demo the logical port got the default URL straight away.
Therefore I opened the wsdl file with notepad and put the address that was specified in the soap:address element as the location attribute. After saving and activating both the logical port and the client proxy I tried testing the proxy. All the methods give the same following error message:
Sap Fault Code 1:
Found 0 operation definitions using keys...
The WS works fine from the WS Navigator test page though. If I change the logical port URL I get an "Unsupported xstream found" error message. Thus I assume the URL that I took from the wsdl should be correct. Can I assume the wsdl is somehow broken? As I look closer at the wsdl, it seems to consist of several wsdl's that are imported to the main wsdl.Hi Evan,
I don't think the wsdl is broken. I assume your webservice is deployed on WAS. Typically the SAP wsdl consist of 3 files, main wsdl file and 2 other files for binding and porttypes.
When all three files are appropriately available then only the proxy gets generated.
Since in your case the proxy is generated and you could activate it, means there is no problem in the wsdl.
Are there any further details in your error?
Does your service methods require any input and you are providing the input appropriately?
Regards,
Vandana. -
Serial Number creation for a material with stock type
Hi,
I am not able to create the serial number for a material which should have valuation type, plant and storage location using the function module ITOB_SERIALNO_CREATE_SINGLE.
There is no export or changing parametre for this function module for Valuation type(EQBS-LBBSA),
Plant(EQBS-B_WERK) and
Storage Location(EQBS-B_LAGER)
Can any one suggest me the BAPI or function module to create a serial number for a material with valudation type, plant and storage location rather tan going for BDC to transaction code IQ01.
(Note: We can create the serial number with valuation type manually using the transaction code "IQ01" for agiven material.)
For suitable answers would be rewarded.
Regards
Badari
Edited by: badari Narayana on Feb 10, 2008 5:20 PMI have the solution below.
- Don't change Serial no. profile
- Goods issue all stock with mvt 201 or 261 into temporary cost object and note your text.
- Change Serial no. profile in material master
- Goods receipt all stock (You may ref. material doc.) and you need to input serial number for all materials.
Hope this solution can help you.
Edited by: Saiyaman on Dec 9, 2009 5:33 PM -
Error during proxy processing An exception with the type CX_BBPX1_STD_MESSA
Hello,everyone!
My PI version is 7.11,SRM SUS version is 7.0,ECC version is 6.0 ,When I import XI SRM CONTEN,sending IDOC in ECC,there is a error some of the mesages:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
<SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
<SAP:P2>CL_BBPX1_SUSPO_IN</SAP:P2>
<SAP:P3>EXECUTE_ASYNCHRONOUS</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during proxy processing An exception with the type CX_BBPX1_STD_MESSAGE_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Detialed error from SXMB_MONI,
Error in XI interface: Exception occurredE:BBP_PD:147 -Enter a country for partner 0015111411 with type 'Vendor' I:R5:553 -'Different country' field contents deleted because identical to 'Country' E:BS:002 -"Create" is not allowed (SUS Purchase Order 7100076527 ) Program: CX_BBP_BD_ERROR===============CP; include: CX_BBP_BD_ERROR===============CM002; Line:
This issue only ocuured for partner 0015111411, but we tried with other partner ID and those messages are processed sucessfully and PO is created.
I have a doubt that, is there functionality in proxy to compare the country with partner in SRM system. Could please anyone help me one the same.
Regards,
Baskaran KHI,
This is a standard proxy. I'm not sure how to debug the proxy with payload. Could you please tell me the steps.
We have one more error message
<FAULT_TEXT>Error in XI interface: Exception occurredE:BBP_PD:147 -Enter a country for partner XY91 with type 'Sold-to Party' E:BS:002 -"Create" is not allowed (SUS Purchase Order 7100076526 ) Program: CX_BBP_BD_ERROR===============CP; include: CX_BBP_BD_ERROR===============CM002; Line: 57</FAULT_TEXT>
Is there any table to check these details like Sold-to Part, Vendor etc in SRM system?
Regards,
Baskaran K -
No authorization for this transaction with movement type 601
Dear All,
This is chandra i am getting this error in delivery level " No authorization for this transaction with movement type 601. If give the authorization for SAP ALL its working fine. If give the authorization for SAP SD T.Codes i am getting this error. Plz help me.
Thanks and regards
ChandraDear Chandra,
Check with -
T. Code: OMJJ
Select Movement Type: 601 and Double-Click: "Allowed Transaction" (From Left-hand side) .
Check whether the Transaction is allowed for Movement Type 601 or not
Note: if Transaction is not listed (i.e. not allowed) and you wanna allow this Transaction with Movement type 601, then -
Up-there, Tab: New Entry. Click on it.
Maintain entry as:
MovTy: 601
TCode: As reqd.
and Save.
Best Regards,
Amit -
Hi All,
We have PI sync scenario,SOAP to Proxy.
We are geeting the below error in Proxy .
Error during proxy processing An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING clause The argument ' 1,000.000' cannot be interpreted as a number.
But when the same data got updated in Proxy.Not sure about the root cause of the error.
Regards,
ArunHi ,
It looks like proxy is not able to convert string to number or the format of number is incorrect. This is only possible reason of this exception.
The argument ' 1,000.000' cannot be interpreted as a number.
Check out if the format is correct.. .
Regards
Aashish Sinha -
How to create a record for table PLAF with order type 'NB'.
How to create a record for table PLAF with order type 'NB'(standard purchase order).
who can tell me the T-code or some usefull information?
Thanks.Hi
This will be updated automatically when generate planned orders thru MRP. (MD02)
regards
Srinivas -
Inbound Idoc function module for Cycle count with msg type WVINVE
Can any one tell me which is the standard function Module which processes Cycle count for message type WVINVE.
My requirement is to setup Inbound Idoc for cycle processing with message type WVINVE.Hi Mukesh,
Inbound FM is IDOC_INPUT_STORE_INVENTORY , and Process code is WVIN.
Yoou can check this in Tcode WE42 for process code WVIN.
Regards
Srikanth M -
Hi All,
I am facing the following problem in production server when even the file got processed successfully .
Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists
Can you please suggest how it can be handled?
Regards,
SarasYou need to debug your proxy program and check all the insert statemrnts. Looks like there is an exception being thrown in the proxy (may be after the completion logic to push the data in to db) which is not being caught.
Proxies are object oriented and it is a good practice to implement Exception Handling mechanism.
VJ
Maybe you are looking for
-
Hello Sony, I am receiving "Server error" or "internal server error" every time I am clicking on "15 day forecast" in weather app. Clicking this opens my browser (Opera mobile in this case) and displays the error message. I am on WiFi with very good
-
How to call an include in a field Exit?
Hi Guys, i am having a doubt ,How to call an Include in a field Exit function module. i wrote as "include zxx_incl." but if i wrote like this in my Field Exit i am getting a Suntax error "Recursive INCLUDE nesting in program
-
Yet another DVD Playback thread...
Gone through every other thread related to DVD playback issues when you do a forum search for "dvd playback". If I try to play a DVD, the disc spins for quite a while while (S)MPlayer just sits there and eventually crashes. Tried this with multiple D
-
my boyfriend and i are using the same apple account, i was wondering if there is a way to stop him recieveing txt msgs that are sent through email addresses without removing him from my account altogether?
-
Hi everyone, a general question as I'm new SAP BW world which extraction method is used most in the market 2nd question is we use Generic to Extract data from two or more tables but I can also use generic for one table (I think not because that's why