Soap 1.2 in ABAP client proxies
Hi!
Anyone knows when we will have SOAP 1.2 support in the standalone ABAP proxies. Currently in NW7.0 only SOAP 1.1 seems to be supported (right?).
Information on MTOM, SOAP w. attachments support for standalone ABAP prixies would also be useful...
Regards,
Christian
Hi Andreas,
SOAP 1.2 is not supported, neither in WebAS 6.20 nor in 6.40 as far as I know support is not planed even for next magor release...
The only what I can propose you is to create an OSS and check what shall SAP answer you,
or to downport your applicaiton.
Regards, Angel
Similar Messages
-
ABAP Client proxies: structure/internal table error
Hi All,
We are getting following error when we check for errors in ABAP program for ABAP client proxies:
"RECORDS" is not an internal table - the "OCCURS n" specification is missing.
Let me explain the scenario and proxy objects its generated and proxy objects we are refering in program:
Its syncrounous client proxy scenario.
In XI:
We have DT_Req, MT_Req, DT_Res, MT_Res and MI_Sync_OB (O/p Message: MT_Req, I/P message:MT_Res)
Proxy Objects generated:
ZCO_MI_SYNC_OB
ZMT_REQ
ZDT_REQ
ZDT_REQ_RECORDS
ZMT_RES
ZDT_RES
ZDT_RES_RECORDS
ZDT_RES_RECORDS_TAB
ABAP Code:
REPORT ZTEST_DELETE.
DATA:
lo_history TYPE REF TO ZCO_MI_SYNC_OB,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
Structures to set and get message content
lv_history_req_mt TYPE ZMT_REQ OCCURS 0 WITH HEADER LINE,
lv_history_res_mt TYPE ZMT_RES,
lv_history_req_rec TYPE ZDT_REQ_RECORDS,
lv_history_res_rec TYPE ZDT_RES_RECORDS.
lv_history_req_rec-VLAUE = SY-DATUM.
APPEND lv_history_req_rec TO lv_history_req_mt-MT_REQ-RECORDS.
CREATE OBJECT lo_history.
TRY.
Call outbound Proxy
CALL METHOD lo_history->execute_synchronous
EXPORTING
output = lv_history_req_mt
IMPORTING
input = lv_history_res_mt.
Error handling
CATCH cx_ai_system_fault INTO lo_sys_exception.
SKIP 2.
WRITE:/ lo_sys_exception->errortext.
RETURN.
ENDTRY.
When we execute this program we get following error:
"REC" is not an internal table - the "OCCURS n" specification is missing.
Can anybody please fogure out the why we getting this error??
We had the similar kind of scenario working. Only one difference in the proxy objects generated:
In working scenario we had the _TAB object genearated for the Req
In our current scenario _TAB proxy is generated for the Res.
Thanx
NavinHi Moorthy,
Everything you said is done. Still get the same error.
Hi Mario,
I tried to define with your example a, still I have problem.
I think I kind of figure out the reason.
As I mentioned in the first post (question), proxy object "ZDT_RES_RECORDS_TAB" has created for the object data type DT_RES. The fields in the data type "DT_RES" are already existing in the SAP.
The fields in the data type DT_REQ are not in the SAP, and in the proxy objects its not generated any kind of TABLE. I think this is the reason we are getting error ""RECORDS" is not an internal table - the "OCCURS n" specification is missing." either we define
lv_history_req_mt TYPE ZMT_REQ OCCURS 0 WITH HEADER LINE, OR
lv_history_req_mt TYPE ZMT_REQ,
Does it make sense what I was explaining above???
Any lead on this would be great.
Thanx
Navin -
ABAP Client proxies: extract data from the response and update Z table
Hi All,
I have following ABAP code for client proxies:
We have DT_Req, MT_Req, DT_Res, MT_Res and MI_Sync_OB (O/p Message: MT_Req, I/P message:MT_Res)
Proxy Objects generated:
ZCO_MI_SYNC_OB
ZMT_REQ
ZDT_REQ
ZDT_REQ_RECORDS
ZDT_REQ_RECORDS_TAB
ZMT_RES
ZDT_RES
ZDT_RES_RECORDS
ZDT_RES_RECORDS_TAB
ABAP Code:
REPORT ZTEST_DELETE.
DATA:
lo_history TYPE REF TO ZCO_MI_SYNC_OB,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
Structures to set and get message content
lv_history_req_mt TYPE ZMT_REQ OCCURS 0 WITH HEADER LINE,
lv_history_res_mt TYPE ZMT_RES,
lv_history_req_rec TYPE ZDT_REQ_RECORDS,
lv_history_res_rec TYPE ZDT_RES_RECORDS.
lv_history_req_rec-VLAUE = SY-DATUM.
APPEND lv_history_req_rec TO lv_history_req_mt-MT_REQ-RECORDS.
CREATE OBJECT lo_history.
TRY.
Call outbound Proxy
CALL METHOD lo_history->execute_synchronous
EXPORTING
output = lv_history_req_mt
IMPORTING
<b>input = lv_history_res_mt.</b>
Error handling
CATCH cx_ai_system_fault INTO lo_sys_exception.
SKIP 2.
WRITE:/ lo_sys_exception->errortext.
RETURN.
ENDTRY.
<b>Now I have my response data in the internable "lv_history_res_mt-MT_REQ-RECORDS" which is deep structure.
How do I extract data records (multiple) from the above internal table and update to Z table??</b>
Thanx
NavinHi Navin,
go to SPROXY, flag structure and search for your table definition. You will find a table definition a field "line" or something, where you find the right structure. Create a new structure with DATA: myStructure type tableStructure. Define a second structure type with your Ztable. Next Loop at internal table into the structure. Inside that loop fill the Zstructure. Insert the Zstrucure (Press F1 on insert to have the syntax you need)
loop at internalTable into intStructure.
zstructure-myField = intStructure-myField.
INSERT ztable FROM zstructure.
endloop.
Regards,
Udo -
Error or Trace of SOA ABAP Client Prox
Hi all,
i have successfully created ABAP Client Proxy for a WebService and configured the port using LPCONFIG. There i can configure the trace level as well - but now my questeion: where do i find these traces, errors ?
Thanks for any help.
Regards,
AndréHi everybody,
Now have found out on my own that these traces goe's to the files like dev_rfc on the SAP filesystem which can be viewed with AL11. Is there any other tool to have a more user friendly view on these traces as you can not be sure in which of the 10 ore more dev_rfc trace files your errors are in.
Thanks for any help.
André -
Problems with 'COMMIT MISSING' - when using ABAP client proxies
Hi
We have a requirement - wherein while SAP std inbound IDOCs are being processed in the R/3 system- we need to monitor the processing of idocs - by sending relevant information out of the R3 system to a monitoring dashboard - outside of the R/3 environment.
Inorder to accomplish the above, we generated a async. client proxy class in the R3 system by pointing to a XI o/b message interface and that interface mapped on to DB calls - from which the dashboard was bringing up status of idocs being processed in R3
We made a call to the async class method from within the idoc user exit that lies within IDOC_INPUT_ORDERS FM . The user exit chosen to make the call was - after the salesorder processing for the inbound idoc was done in the above FM. We have not given any COMMIT WORK statement after the async client proxy method call within the user exit - since the call was being made from within user exit and we did not want to upset SAP std processing flow.
Now, when the inbound idoc processing is being done by using SAP std program rbdapp01 using parallel processing option of packets, the outbound message generated is in 'COMMIT MISSING' status - whereas - when rbdapp01 is executed in normal mode - the proxy message is sent out ok out of the R3 integration engine.
The program rbdapp01 has a COMMIT WORK statement after each IDOC packet is processed - but still with the parallel processing option - the proxy message stays in th R3 box - with the status 'COMMIT MISSING'
Any thoughts/ pointers on this is appreciated....Hi Karthik,
I don't think you can get this to work using an asynchronous proxy - except perhaps by spawning an update task to send the data.
Perhaps you can re-cast this as a synchronous interface?
Regards,
Thorsten -
I have 2 problems in creating abap client proxies using wsdl
1.when i try to create client proxy by giving RPC style wsdl(generated by SAP itself for a RFC) the system throws an error and not allowing to create the proxy
2.The client proxy which i have created for a wsdl(either SAP created document type/any wsdl from commercial websites) gives an error "No receiver could be found"
could somebody please clarify and help me to solve the problem.
Thanks in advance.
Vasanth.Hi Vasanth,
There are many threads and blogs on this topic.
Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
Rgds,
Sam Raju -
Hello
I am stuggling with writing a client proxy in ABAP to call a Web Service without any use of XI. The help says it is possible, as per the URL below.
On the expanded tree structure on the left pane of the help, navigate to the heading "Programming with Client and Server Proxies" and then "Sending a message".
I have been able to generate a proxy class by consuming a WSDL file and I have also defined a Logical Port.
I have also copied the ABAP code shown on the same Help page, but have been stumped by the definition of ls_request and ls_response. The next line of help goes on to explain that ls_request should be a structure for the Request Message. In the scenario where XI is used, I can understand the concept of defining a structure that is the same as the Request message.
In the scenario of only using ABAP and no XI, I don't understand what I should define the structures for ls_request and ls_response.
Can anyone shed some light on my confusion? Any suggestions gratefully received.
Thanks in advance
tony<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm">SAP Help on ABAP Client Proxies</a>Welcome to SDN.
check out this weblog.
<a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap">Consuming WebServices with ABAP</a>
input and output structure are automatically generated when creating the client proxy.
click on the structure tab (se80 client proxy definition) and expand the webservice method againt input in the type column you should see a structure name use this for ls_request
ls_request TYPE zxxx_soap_in,
against exporting in types column you can see the type for ls_response.
Hope this is clear.
Regards
Raja -
ABAP Server Proxies-- any help docs..?
Hi,
Only after completing my ABAP Client proxies, i found that there was a weblog on it. Now i am trying Server Proxies, i want to maximize the use of SDN. So can somebody tell me where there any any blogs posted on server proxies...?
kindly provide me the good links for Server proxies.
Regards,
Christina.Hi,
For server proxies,
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Also refer to:
http://help.sap.com/saphelp_nw04/helpdata/en/62/8a5f3c31727d59e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
Regards,
Sridhar
Message was edited by: Sridhar Rajan Natarajan -
Hi all,
I am working on ABAP client proxy to SOAP Asynchronous scenario. when iam sending the data from r/3 system data sent to webservice.
but PI sending this same data 3 more to the third parth system. when i checked in runtime workbench it is showing number of retrys 3
how to resolve this issue. please explain in detail
Thanks
AnilAnil,
That's the default setting for Async SOAP communication...this can occur if the receiver is overloaded and cannot take any more feed and sometimes time out in the middle of the hand off...this would lead to re-try in PI...so you would see 3 entries of same data...refresh or clear the data from the receiver could solve the issue...
Thanks,
Srini
Edited by: Srinivas Davuluri on Sep 9, 2010 1:51 PM -
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 -
ABAP server and client proxies
Dear All,
what is the diff between ABAP server and client proxies?
Regards,
Ashish goyalHi Ashish,
Client proxy means proxy in Sender System, and Server Proxy means proxy in Receiver System.
Have a look to the following links:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm">ABAP Proxy Runtime</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/c9/74246d8ad2447799063d39013e9a11/frameset.htm">Programming with Client and Server Proxies</a>
ABAP Proxies in XI(Client Proxy)
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
ABAP Server Proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Hope this help
Francesco -
Hi All,
I am trying to use ABAP Client Proxy(Sync). I am getting the error.
1. Message from SXMB_ADMIN on Business system.
<b> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
<SAP:Context />
<SAP:Code p1="400" p2="ICM_HTTP_CONNECTION_FAILED" p3="" p4="">HTTP.HTTP_CLIENT_RECEIVE_FAILED</SAP:Code>
<SAP:Text language="EN">Error during http receive: Error code: 400 Error text: ICM_HTTP_CONNECTION_FAILED</SAP:Text>
</SAP:ErrorHeader></b>
2. No message On XI server.
3.Went through the Ravikumar Allampallam's blog
on ABAP ClientProxy .
4. Went through the vijaya kumari's " How do you activate ABAP Proxies?"
5. created connections (sld)and one http connections in SM59. Tested the connections.
6. Went throught the Forms.
Any help would be appriaciated.
Thank you
Ganges Leaves.Vijaya Kumari,
1. I have checked it. For XI server these are the values.
Business System Role : Integration Server.
Pipe Line url : http://server:8000/sap/xi/engine?type=entry.
8000 is the http port which i see in the SMICM+shift F1.
Thank you
Ganges Leaves -
How does ABAP client proxy determine the sender business system
When we use ABAP client proxy to send a message in XI-SOAP format to the integration engine, how does the client proxy determine what is the sender business system, i.e. how does it know what value it should insert in the sender service field in the SOAP envelop.
For example, at first, the business system X8A_105 corresponds to the technical system X8A_105, so when the client proxy sends out a message, the sender service is X8A_105. Then I delete the business system X8A_105 in the SLD, and create a new business system that is associated with the technical system X8A_105.when the client proxy sends out a message, the sender_service is still X8A_105, why?Hi Annie,
Execute the following function module in your business system and see what name it returns..
LCR_GET_OWN_BUSINESS_SYSTEM.
You can always debug the code inside the above FM to find out how it gets the business system name...
I think the issue should be related to cache. I would also suggest you to logoff from your business system and then login again.
Regards,
Sumit
Message was edited by:
Sumit Khetawat -
Hai All,
I am working on ABAP Client Proxy to RFC.
Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and receiver interface.
I hope some HTTP connection problem.
Can anyone explain me in detail how to create the http connection as i confused here.
Lets say XI(sender) to R3(Receievr)
where proxy is been created in XI system itself and also generated in XI system only.
Can anyone suggets me here as this interface is totally asynchronous.
Thanks,
Kalyan.Hai Seshagiri,
Thanks a lot.
Am giving you points buddy.Its working.
Cud u plz give me ur Email id.
This is fine but i want implement this interface to further there i am getting errors.So that i can send u the screenshots of those.
Thanks,
Kalyan.
Please read the Forum's Rules of Engagement,
i.e.,
[/thread/117188 [original link is broken];
and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
SDN PI/XI Forum Moderator -
Fault message handling in abap client proxy
Hi experts,
i have scenario like this SAPECC---XI---WEBservice
i was decided to using the ABAP CLIENT proxy in sender side and soap adapter communication in receiver side
i will be get the wsdl file form client
problem is i am in bit of confusion like am i need to create fault message for this asychronous scenario?
how can i create the fault message for this scenario(that WSDL) and how the abaperwill handle those error
thanks in advanceHi.
You can use fault message but it won´t return a error to your ABAP Proxy because your interface is ASSYNC. The fault message generated will stop in Adapter Engine.
If you need a return of the error, you have to change your interface to Sync mode.
To get more information, follow the link below:
Fault Message Type
http://help.sap.com/saphelp_nwpi711/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
Best Regards.
Bruno
Maybe you are looking for
-
Custom colors and fonts in in-context editor?
I have added some custom colors and font families in our partner portal > online editor settings for a client site. When editing a page or web app item in the Manage tab of the admin console, I can see these colors and fonts in the editor. However, w
-
Powerbook G4 12 inch processor
Will the Powerbook G4 use the intel chip...and if so, how soon?
-
Trc files: can they be deleted?
Our Oracle 10 installation has hundreds of *.trc files in its /dbdump directory. These files go back about two years. I would like to remove any that are not necessary for the day to day operation of the db. Is it safe to remove any or all of these?
-
Hi am a newbie to linux and Oracle 9iAS. I have managed to install the application server and it all worked well. However on restarting the machine Oracle does not start up automatically. If anybody knows the scripts please let me know since I cant g
-
IMovie 9.0.9 won't start but hangs in Mavericks
I am testing out Mavericks and have installed it without problem (over Snow Leopard boot partition clones) on 2 machines, a 2010 Mac Mini and a 2007 MackbookPro. I was using iMovie 9.0.4 on both and can still do so since I have kept Snow Leopard boo