Client Proxy Question

Hi all,
Initially, when we have created a client proxy in ECC 5.0 with Oracle on Windows,
we have chosen Local File as the WSDL source. We had the WSDL saved locally.
This way we have generated a Client Proxy in SE80.
Then we created a logical port using LPCONFIG.
Since this the default logical port, we just saved it with all the settings imported
from the WSDL definition.
This way the Client proxy was working fine.
The doubt that I have is, later on, if we want to just change the URL under
call paramters in LPCONFIG to the URL of the WSDL residing on some
other server(Non SAP), will the client proxy work?
Regards,
Vishnu

Hi Gaurav,
Looking at the error below, the binding is happening.
However, there is a return code 503. And SAP is not able to access the
Webservice located at the other server(Non-SAP).
INFO 01:44:43: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL
->IF_SOAP_PROTOCOL~PRE_PROCESS() SOAP Session Protocol
preprocessed
INFO 01:44:43: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~SEND() Try to send message ( DEST =
,PATH = ,URL = http://server name:portno/ ,SOAP Action = "ROI_R3
_DF.roiSAPCreateOrder" )
INFO 01:44:43: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~SEND() Message sent
INFO 01:44:43: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Try to receive message
INFO 01:44:52: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->HANDLE
_STATUS_CODE() Received return code 503 ( not available )
ERROR 01:44:52: SOAP Message CL_SOAP_MESSAGE->IF_SOAP_MESSAGE
_PART~INIT_FOR_DESERIALIZE() A SOAP Runtime Core Exception
occurred in method XP_READ_TAG of class CL_SOAP_XP at position id
1 with internal error id 112 and error text no extended error
message (SOAP_ESERVER) (fault location is 1 ).
Regards,
Vishnu

Similar Messages

  • REST Client Proxy Question

    Objective: To call REST service from PB12.5.2 Classic application.
    Current implementation: Using MSXML and INET objects to call GET and POST methods.
    Problem: This implementation works fine until we have bulk calls (like 100K calls to the service in a single session). Sometimes it errors out because the XML sent to the service is 0 bytes (as seen on Fiddler)
    Better alternative: Can we create a new PB.NET PB assembly with a REST client proxy and call the proxy function from our PB classic application? Can we build DLL and reference it from our classic application?
    Is there any working example of the same?
    Bruce - I have seen your example in http://brucearmstrong.sys-con.com/node/2133766/mobile
    You talk about calling the WCF service from the classic application, have you tried the REST service call? I have followed the same steps you have mentioned and hit a roadblock when it came to the REGASM command, not sure which DLL to register now that I have 3 different DLLs. I have explained the steps I have taken in this document - http://www.pbgeeks.com/wp-content/uploads/pbnet.docx
    Thanks,
    Praveen

    You notes show:
    REST client assembly:          CalcPremrequest.dll
    Wrapper assembly:               restsvc_assembly.dll
    The wrapper assembly should already be strong named in the project.  The assembly that doesn't get strong named when PB generates it is the REST client assembly.  That's the one that you'll need to disassemble to IL and then recompile with a strong key name file in order to give it a strong name.  Your document shows you're doing that on the wrapper.
    Both assemblies need to be added to the GAC if that is where you are going to have them.
    You might start out without signing the REST client assembly, and just using the /codebase argument to REGASM to have it create registry entries that point to the local file location.  Once you have it working that way you can then deal with adding the assemblies to the GAC.
    The error you are getting may be a result of the wrapper assembly getting corrupted when you attempted to strong name it.

  • Web client proxy question

    I generated a web service proxy in JDeveloper 10.1.3.2.
    The web service I am going against is a doc/literal type service, and so the response back is a string. I see that a Response_LiteralSerializer was generated, can I use that to get an object from the response string?
    I'm hoping to avoid using dom4j to pull out values from the return.
    Dennis

    Dennis,
    Perhaps the client sections in these tutorials might help:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_wstopdown/wstopdown.htm
    Thanks, guus

  • Question Regarding Client Proxy configuration.

    Hi All,
    I am configuring Client Proxy for my scenarios in which I have to fetch data from ECC server for my XI server. I am following the steps as provided in the following blog:
    How do you activate ABAP Proxies?
    Now when I have created the RFCs i.e LCRSAPRFC and SAPSLDAPI in ECC System I have a doubt that where should I maintain the program ID of these RFCs i.e whether in J2ee engine of XI or ECC??
    Also if possible plz send me the other visual admin configurations for these RFC and exactly where these settings should be done and what values to be provided.
    Regards,
    Rookie.

    Hi,
    For more clarification:
    http://help.sap.com/saphelp_nw70/helpdata/EN/23/fa1f1e5f6841cf92c64dc19d79f290/frameset.htm
    Boopathi
    Edited by: Boopathi Thangavel on Jul 15, 2008 7:43 AM

  • Error while creating Client Proxy from SE80

    Hi all,
    I am trying to create Client Proxy with WSDL through SE80. There is no involvement of XI to create the Proxy.
    I am using the option 'Local file' and uploading the wsdl file.
    But I am getting the following errors.
    "Proxy-Generierung: Fehler aufgetreten"
    "Exception occurred in library handler"
    "Illegal syntax: Element header has invalid enhancement attribute
    http://schemas.xmlsoap.org/wsdl/:required"
    If any one could understand them and worked in a similar scenario, pls help me out.
    regards,
    teja.

    hi,
    you might want to post the WSDL in question for us to have a look at.
    but actually, the error message tells a lot:
    http://schemas.xmlsoap.org/wsdl/:required
    the second colon(, the one between wsdl/ and required, makes this expression an illegal one in any kind of a URI-like meaning (namespace, ref-URL, ...)
    anton

  • Client proxy consuming web service provider using logical port issue

    Hi All,
    I have a proxy client having a logical port (configured using  NWDS)  to consume a web service in the provider system.
    In the logical port, I have given target address, and logical port name. While moving this client proxy NWDI dev track to Q and prod,
    how do I change this target address to point to Q and prod respectively. In other words, even though I am using Visual admin to configure the destination url for the logical port, to point to Q and prod, its still referring to the dev environment provider service after moving the proxy client to Q and prod. What is the suggested approach to take care of this issue
    Thx
    mike

    Hi Michael,
    I can only help from that point of view that I believe this question belongs to the forum
    Service-Oriented Architecture (SOA) and SAP
    Please try to raise this question there.
    Thanks and Regards,
    Ervin

  • Advice on client proxy generation (ABAP and SAP PI)

    Hi,
    I've set up an ABAP client proxy using the wizard in transaction SE80 in the backend system, released it using transaction SOAMANAGER and tested that it works.
    I now want to compare this technical approach against the same scenario using a proxy generated from a SAP PI outbound synchronous message interface.
    I have hit the following issues:
    1) When I upload the WSDL file (saved from the test web service I exposed from one of our SAP systems) into the Integration Repository, I receive the following error:
    "Check Result for Object GetDOB_WSDL Document check found errors  Cause: Unable to recognize the loaded document as valid WSDL  Tag Policy is not permitted at position portType".
    I can remove this error by deleting the tag policy but don't have an answer why this is not supported and whether this is the right approach - this error occurs regardless of which option I choose when saving the WSDL (i.e. portType or binding) or which upload option I select.
    2) When I create the proxy in the backend system based on the message interface the objects are all created successfully and generate/activate correctly.  As I don't need the PI runtime (no mapping, queuing etc) I go to create the logical port in transaction SOAMANAGER and I receive the error:
    SRT Framework exception: The WSDL document is not compatible with proxy class "ZPROXCO_ZFUNC_UPDATE_ADDRESSHI": "Operation(s) Missing ZFuncUpdateAddresshistory"
    even though the external operation does exist and is called ZFuncUpdateAddresshistory.
    I have no clues as to why this doesn't work other than the generated WSDL file in the ABAP client proxy has the same name for the portType and operation (ZFuncUpdateAddresshistory).
    3) Can someone please explain the value at design time over creating the client proxy in SAP PI versus using simply the wizard in the backend ABAP system - is it simply that the interfaces can be held centrally in the IR if desired or the WSDL might already be there and could be used to quickly generate a message interface?
    Thanks,
    Alan

    Hi,
      As far as I know, we follow the top down approach in proxy scenarios.
    meaning, we first create the interfaces in XI IR and then go to the back end to implement them.
    So, you should create a message interface (Probably Manually rather than importing the wsdl from R/3)
    in IR and then go to the ERP backend to implement the proxy using the SPROXY transaction.
    Coming to your 3rd question, In PI 7.1 you might be knowung that we have something called ESR(Enterprise Service Repository), which has all the services in a single place.This gives us an option of collating all the different enterprise services scattered all over different systems to be in a common repository.
    Regards,
    Ravi Kanth Talagana

  • ABAP Client proxy - IF_WSPROTOCOL_ASYNC_MESSAGING

    I have a question regarding the value for the attribue ASYNC_MESSAGING. In every client proxy, this attribute is defaulted to IF_WSPROTOCOL_ASYNC_MESSAGING. (inherits the value from IF_WSPROTOCOL).
    Does that mean that the client ABAP proxy uses EOIO ? If so, how do you change it to EO?
    If the change of QoS from EOIO to EO is not possible, would creating custom queues and using the SERIALIZATION CONTEXT to specify the custom queue help me alleviate issues with stuck EOIO queues on the sender/receiver sides while using proxy? Since the QoS is determined by the sender, I would assume that if there is way to set it on the Sender client proxy, that would prevent the queues from stopping processing if a message fails. In my case, I am not too concerned about preserving the sequence of the messages.
    Any input will be appreciated.
    Thanks
    Sridhar

    Hello Sridhar,
    I'm not sure if I understand your question right, but I think following applies : ABAPProxy client (SAP sends data to SAP PI) behaves as EO by default. And if one needs to have messages to be delivered to the destination system in order, you need to "tell" this to SAP PI, when you send the data from ABAPProxy client. Thats the case you need include coding as mentioned here: http://help.sap.com/saphelp_nw04/helpdata/en/65/40c9a4a1fa476288ac61b5fcc6bbde/frameset.htm.
    Please note, that for WAS 620 ABAPProxy client another routine applies. For more information see the link: http://help.sap.com/saphelp_xi20sr1/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    Regards
    Tomas

  • Abap client proxy to xi - no data found

    Hi experts
    I m working on abap client  proxy to file scenario where in I m sending data from R/3 system to legacy system via xi , but after doing all the configurations and running the abap program for triggering client proxy , i dont find any data on the receiver side ,
    I have activated client proxy as per Vijay Kumaris Blog
    I checked sxmb_moni on the R/3 system but shows no data selected , so no question of data being found on xi server ,
    i m really sutcked up ....dont know hwat to do , pl help
    rgds
    mojib

    Hi,
    Have u used commit work at the end of the code.
    Can you please tell me what all configuration u have done.
    U have referred the ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Refer the below log for Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Chirag

  • How to call ABAP client proxy?

    Hello,
    I am getting confused with ABAP client proxy now.
    I've defined a outbound service interface (Message Interface) in PI, based on the service interface I generated the ABAP client proxy in the abap backend system. There are two possible ways to configuration the integration scenario for this interface:
    1) use the proxy as web service consumer for scenario like:  ws consumer --> PI
    2) No web service, just proxy like:  Proxy --> PI
    Now I've configured a logical port (as default logical port) for scenario 1.
    I wrote a ABAP program to call the proxy to send out message to PI. To call the proxy we instantiate the proxy like:
    CREATE OBJECT proxy  EXPORTING    logical_port_name = p_port.
    proxy->myOperation( ...  ).
    Now if I specify the logical_port_name, I think the local IE in the abap system knows to send out the message using web service (scenario 1). However if I do NOT specify logical_port_name, how the local IE knows which way to send out the message? Using web service with the default logica port, or directly  post the message to the centrl IE pipeline using the second scenario ?
    Anybody can clarify my doubts?
    Thanks
    Eric

    Eric
    The answer to your question lies in the method CREATE_FRAMEWORK of class CL_PROXY_FRAMEWORK_OUTBOUND. In this method, you will see method GET_SOAP_APPLICATION of class CL_SRT_LP_MAINTANENCE is checked to see which adapter to use (i.e WS runtime or XI runtime).
    Anyway, to give a straight answer to your question, if you maintained an endpoint for your interface in tcode SOAManager, the WS runtime/adapter is used to send the message to Integration server. If there is no endpoint maintained, then it uses the XI runtime (or the traditional proxy adapter).
    Now, as far as logical port goes, if you didn't give a value when calling the proxy client class and you didn't maintain an endpoint in SOAManager, then XI runtime is used.
    If you didn't pass a value to logical port but you maintained an endpoint which the default logical port, then the same is used and communication happens through WS adapter.
    If you didn't pass a value to logical port but you maintained an endpoint and didn't mark the port as default, then a WS runtime exception is raised.
    Hope this answers your question. For more information, try to take a look in the classes mentioned above.
    KK

  • Not getting response from Client Proxy

    Hi,
    We are developing a scenario - File->PI->Proxy using ABAP Proxies.We are posting a file thru PI 7.0 to R/3 .In R/3 the server proxy(Inbound Asynchronous) will receive the message and BAPI will be called. The response from the BAPI will be reaching the server proxy and passed to the client proxy(Outbound Asynchronous).
       Server Proxy(request) --> BAPI --> Server Proxy(response) --> Client Proxy(response)
    The response from the client proxy has to be send to PI and a file will be generated as the output.
    Can anyone provide me suggestions to call client proxy from a server proxy by passing the response message to client proxy???
    Thanks in advance.
    Regards,
    Dibyajyoti

    Hi,
    I hope, you are done till the Implementation of Server Proxy, where you are calling a Bapi and passing the Input variables the Interface received and BAPI is giving a response back.
    Now your question, how to send the response back Asynchronously.
    I think, you have to do the same, what you do for a client proxy  and at last  call the method EXECUTE_ASYNCHRONOUS before the Final Commit Staement. I think this should work.
    But using Synchronous Interface in such cases is always a handy and easier option.
    Regards,
    Subhendu

  • WS Adapter: Scenario SAP(Client)Proxy= PI= WS

    Hello Experts,
    I have a scenario -  SAP to PI to 3rdParty(NON-SAP).
    This is merely data getting pushed out of SAP ECC to 3rd party.  Not request-response type.
    The REQUIREMENT is P2P Communication Scenario thus will not make use of Integration Sever.
    Data will be sent from ABAP(Client)Proxy => PI => WS Adapter/Direct Connection. 
    Question:
    1.  Is there any application where I can test the webservice?(i.e. INFOPATH)
         If its a request-resopnse type of scenario I can make use of INFOPATH to test the webservice however this is only   
         consuming of service.
    2.  Is there anyway to test the webservice other than connecting to the actual 3rd party?AND I dont want to create a server proxy from another ECC client.  My test should be SAP->PI->NOn SAP.
    Ta!!
    Edited by: el_sapinator on Oct 19, 2010 3:51 PM

    Hi gaurav,
    From client proxy u have to send request and get the response back...
    So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
    create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
    Regards,
    Sunitha

  • Debugging client proxy

    Hi
    How to debug the client proxy ?? this particular question is available on forum. But for that everybody replied with procedure for server proxy. All of them suggested the below links which are for server proxy. But atleast this time plz somebody explain me how we do debugging of client proxy ??
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    thanks
    kumar

    Hi,
    1. is it an SAP proxy or customer dev ?
    - if customer dev you just need to put a break point in your report
    (or FM ) from which you invoke it... that's all
    so it doesn't make sense to describe it
    -  if SAP proxy than you need to find the place
    where SAP program calls send_asynchnous method
    and put a break point before it and that's all
    no special things to do just put a break point and you have client
    proxy debugging
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sending large messages via ABAP client proxy

    Dear All,
    my scenario is the following. I have an ABAP report which creates files. These files are currently moved by an FTP auto job, to a target folder and are finally imported into an 3rd party programm.
    The CSV-files created consist of approx. 3000 records, each with a length of 1000. So the total size is about 3 MB. The files are send at night, once a day.
    We want to distribute these files via SAP PI. My question is the following:
    Is a client proxy able to send the whole (3MB) message to PI (which will just write the message to the target FTP destination) or do I have to send each record with the client proxy to PI (and append the record to the file).
    If both solutions are feasible,what would be preferable? The solution of sending single records to PI, would be more generic in my opinion, because I could define a message type for the records in PI. So in future i could add also some mapping stuff. If I would want to send the whole file content with one client proxy call, i would basically have one big string.
    How do both options compare in regard to performance? Sending 3000 small messages oder one big message?
    What about the file adapter? Is it an option to append 3000 records to a file?
    Does anyone have another solution for that scenario?
    Best regards and thank you for your help!
    Florian

    Hi,
    Is a client proxy able to send the whole (3MB) message to PI
    yes it is capable.
    If both solutions are feasible,what would be preferable?
    yes both solutions are feasible ,but preferable is to send the whole message rather than one by one.
    How do both options compare in regard to performance?
    sending whole message is far more better than sending record by record.
    regards,
    pradeep A.

  • Creating client proxy for calling web service

    Hello,
    I like to call a WebServce from our vendor. The vendor provides me no WSDL document.
    Question: Is it possible to create a client proxy without WSDL? I have just the SOAP Request/Response.
    SAP ECC 6.0
    SAP_BASIS     700     0010
    Thank you very much in advance for any helpful answer.
    Kind regards
    Axel

    Hi Axel,
               I am working on a program to connect to a external web-service from SAP (R/3 enterprise 4.7) and while searching all the available stuff for this I got this method.
    But, I am still facing some other issues and hence doesn't have the whole solution. You have to probably try it out from your side once and see if it helps.
    Please refer the following blog.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/847. [original link is broken] [original link is broken] [original link is broken]
    it describes a method which is not at all using any WSDL file. Instead it uses the CL_HTTP_CLIENT class to pass a SOAP request to the web-service and then get the response.
    Regards
    Barada

Maybe you are looking for