Urgent : reg client proxy
could any one pls provide ABAP code for client proxy with deep structures.Its urgent!!!
Hi,
Refer the below weblog and thread:
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
program on client and server proxy
Thnx
Chirag
Similar Messages
-
Hi,
One of our Web services XSD elementss has "anySimpleType" as the type:
<xsd:element name="Value" type="xsd:anySimpleType" minOccurs="0" nillable="true"/>
The client proxy is generated using JDev 10.1.3.3. We observed that the corresponding Java object is created with "String" data type:
protected java.lang.String value;
exp.setValue("100");
We need to be able to pass arguments with other simple types as well (E.g. Decimal). We tried changing the auto generated code, but weren't successful.
Any pointers in this regard are much appreciated.
Thanks,
PhaniHi all,
can anyone please respond to my issue. Its sort of urgent.
thanks, -
Detecting client proxy settings
Dear All,
Can anyone tell me how to detect client proxy settings from a java application (not in a browser).
I tried System.getProperties().getProperty("http.proxyhost") without success.
Our application is distribuited using Java Web Start technology and needs to know proxy settings to connect to the remote host thru an unknown proxy server.
Solution to this problem is very important and urgent! Please help me!
Thanks in advance!Look for
proxyHost
proxyPort
or (for https)
https.proxyHost
https.proxyPort -
Error in creation of client proxy.
Hello all,
I try to consume a webservice in SAP ABAP. When i create the service consumer proxy it is giving an error message llike
"Incorrect value: Unknown QName http://wholesale...........................sendeWholesaleMeldungRequest"
Have anyone come across this error scenario.
I m using SAP ECC 6.0.
Regards
Sandep.Hi Sandeep,
--->While creating client Proxy object to consume the webservice a pop will raise with 4 radio buttons options,i think you had selected any one of that depending upon your requirement,rite,If not do that and try.
-->If you have the WSDL file in your local system select the Radio Button WSDL and import it into your Client Proxy.
-->Also create the Logical Port.
Thanks -
** Logical Port in Client Proxy
Hi Friends,
I am doing proxy to web service scenario. My proxy is client proxy. After I created proxy, I checked that. There is no standard method 'EXECUTE_ASYNCHRONUS'. I read the Michal's blog /people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method and understand that this method is not created. The reason is that SAP_BASIS support package level is 15. (Release 700) in our R/3 ECC 6.0 system.
Now, I am not able to test my proxy from SPROXY tcode. It asks Logical Port.
1. Can you tell me, what is logical port ? How do I create this in LPCONFIG tcode ?
2. Once this is done, can I call the class with the method like in older version ?
3. Currently I am getting the information 'No vendor specified' while test proxy withe empty logical port.
Expecting your reply.
Kind regards,
Jegathees P.Hi Rene,
If a logical port is not configured, the X/PI Runtime will be used instead.
In Jegathees' case, this is probably what happened. If you want to route your message through PI then you need to make sure that you are pointing to your Integration Server (i.e. PI), on ECC use transaction code SXMB_ADM --> Integration Engine Configuration. Role of Business System should be "Application System" and "Corresp. Integration Server" should be your PI server.
You will see when you test your client proxy (using TCode SPROXY) you have the option of choosing XI Runtime - or - Logical port too.
Regards, Trevor -
Error at creating Client Proxy of external webservice (WSDL)
Hi Experts,
I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
[http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
I try to create it with this URL and then I get the error message
Not implemented
Exception of class CX_SIDL_INTERNAL_ERROR
I found two other threads with a similar problem:
cunsuming external webservice in ABAP
Problem while consuming external webservice
But there is no solution that worked for me. In the first thread it is mentioned, that the code between
<wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
report z_currency_converter.
data: convert type ref to zzzco_currency_convertor_soap.
try.
create object convert
exporting
logical_port_name = 'Z_LP'
catch cx_ai_system_fault .
endtry.
data: output type zzzconversion_rate_soap_out .
data: input type zzzconversion_rate_soap_in .
input-from_currency = 'EUR'.
input-to_currency = 'USD'.
try.
call method convert->conversion_rate
exporting
input = input
importing
output = output
catch cx_ai_system_fault .
catch cx_ai_application_fault .
endtry.
write output-conversion_rate_result.
The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
SAP says the following:
The problem is that this WSDL uses two bindings different from SOAP
binding which is not in conformance with Basic Profile 1.1 -
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
I hope you have an idea.
Thanks a lot in advance!
Best Regards,
IngmarI think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
Regards
Snehasish -
Error while creating a client proxy for CBR.RU
Hi!
I need to consume web service. Here is the link: http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL
I tried to make an own client proxy with SE80 transaction. (edit object->enterprise services -> client proxy -> create) After completing wizard an error occurs with text:
Incorrect value: Unknown Namespace http://www.w3.org/2001/XMLSchema
The same schema works perfecrly with this web service:
http://www.deeptraining.com/webservices/wsStrings.asmx?WSDL
In this case proxy class is created with no errors and everything is fine.
Could anybody let me know what's the reason of such bug, please? I'm not competent with XML schemas so it's kind of difficult to understand what's wrong with WSDL file from CBR.RULate response I know, but I have solved a similar problem recently and thought I would share.
Firstly, the problem is not with the namespace. The "Namespace ..." part is just stating the namespace the "Incorrect Value" has. So this error is complaining about the value "Unknown" - which isn't very helpful.
It appears the SAP SE80 importer does not like elements like the following because it can't understand <s:element ref="s:schema" />. It appears this is a common thing to be included in .NET generated WSDLs.
<s:element minOccurs="0" maxOccurs="1" name="GetCursDynamicResult"> <s:complexType> <s:sequence> <s:element ref="s:schema" /> <s:any /> </s:sequence> </s:complexType></s:element>
SAP will also not like this example as it does not support mixed content (see: http://www.w3schools.com/schema/schema_complex_mixed.asp)
<s:element minOccurs="0" maxOccurs="1" name="SaldoXMLResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
You can "Fix" the problem in both cases by removing the offending text in a local copy of the WSDL file so remove line 4 in the first example and change line 2 in the second to <s:complexType> the proxy can then be generated. No idea if the resulting service will be fully operational though! -
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 -
Error while deploying Java Client Proxy
Hi Experts,
I developed a java client proxy.Since i do not have access to visual administrator, i uploaded the ear file to a folder in the XI box and asked the basis folks to deploy it.
On trying to deploy it on to the server they got the following error.
Details:
========
1) Error loading archive
/usr/sap/XS1/put/R3Ear.ear
(server side name is: /usr/sap/XS1/put/R3Ear.ear)
com.sap.sdm.util.sduread.IllFormattedSduFileException: Error during attribute reading: received exception: invalid stored block lengths
What could be the reason for the error?Hi
recreate your ear file and try to redeploy it.
it could be a zipping problem
Regards
Vishnu -
ABAP Client Proxy from ECC 6.0 to XI message irregular recieving
Hi Gurus
Any one has come across issue whereby the ECC 6 system trigger ABAP Client proxy to SAP PI 7.0. The first time the PI is able to recieve it in the SXI_MONITOR. But subsequent trigger from the ECC 6.0 system the SAP ABAP program to trigger the Client Proxy, the PI seem to lost connectivity and did not recieve any message. This is pretty strange and hopefully someone in SDN and enlighten me.
Thanks
Regards
On behalf of malcolmHi Santosh
I went to SMQR and register the queue, but it still did not reflect the locked queue when i trigger the ECC 6 to SAP PI 7.0. The green flag - schedule still appear in the SXMB_MONI queue. But i am quite puzzle as why the ABAP client proxy after sending message the first time and second time, the third time it stuck? And also it is not practical to everytime go to the SMQ1 or SMQ2 to unlock the queue. I don't think it a good solution for solving my problem, it is just a temporary solution. -
Error while generating client proxy
Hi All,
I have got a WSDL file for which I am generating the client proxy. It is giving me a dump saying that, memory is not sufficient while generating the proxy.
I have also contacted the basis team, even after increasing the memory... we are facing the same issue. Can anyone suggest any solution or SAP Note if there are any???
Thanks in advance.
Bhargava.Hi,
Please find the dump details below:
ST22 DUMP:
Short text
No storage space available for FORM stack.
What happened?
Each transaction requires some main memory space to process
application data. If the operating system cannot provide any more
space, the transaction is terminated.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Try to find out (e.g. by targetted data selection) whether the
transaction will run with less main memory.
If there is a temporary bottleneck, execute the transaction again.
If the error persists, ask your system administrator to check the
following profile parameters:
o ztta/roll_area (1.000.000 - 15.000.000)
Classic roll area per user and internal mode
usual amount of roll area per user and internal mode
o ztta/roll_extension (10.000.000 - 500.000.000)
Amount of memory per user in extended memory (EM)
o abap/heap_area_total (100.000.000 - 1.500.000.000)
Amount of memory (malloc) for all users of an application
server. If several background processes are running on
one server, temporary bottlenecks may occur.
Of course, the amount of memory (in bytes) must also be
available on the machine (main memory or file system swap).
Caution:
The operating system must be set up so that there is also
enough memory for each process. Usually, the maximum address
space is too small.
Ask your hardware manufacturer or your competence center
about this.
In this case, consult your hardware vendor
abap/heap_area_dia: (10.000.000 - 1.000.000.000)
Restriction of memory allocated to the heap with malloc
for each dialog process.
Parameters for background processes:
abap/heap_area_nondia: (10.000.000 - 1.000.000.000)
Restriction of memory allocated to the heap with malloc
for each background process.
Other memory-relevant parameters are:
em/initial_size_MB: (35-1200)
Extended memory area from which all users of an
application server can satisfy their memory requirement
Error analysis
You attempted to extend a stack, but the required storage spac
not available.
Storage request..............: 8450048 bytes.
How to correct the error
Please check whether uncontrolled recursive calls caused this
runtime error.
Try to decide by analysis whether this request is
reasonable or whether there is a program error. You should pay
particular attention to the internal table entries listed belo
System environment
SAP-Release 701
Application server... "dcr"
Network address...... "10.1.105.112"
Operating system..... "AIX"
Release.............. "6.1"
Hardware type........ "00C834224C00"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 4 -
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
DeepthiHi,
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 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 -
Need some help in creating client proxy to call webservice
Hi experts,
I am new to ABAP so couldnt understand the SAP ABAP jargons.
On of my colleague has written one search help exit function and i need to use that and have to write client proxy to establish connection to webservice.
I never worked on proxy or webservice so, struggling to understand the concept and steps.
I am following second part i.e Release 640 part of /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap weblog.
I couldnt find "To get the process started, we turn to our old friend SE80. <b>From the Enterprise Services Tab, we are going to select Client Proxy and then hit create"</b>
when i go to transaction se80 ObjectNavigator, i could see two dropdown lists after some tabs.
in first list, I have selected, "Application Hierarchy", and in second I am selecting "Package".
Not sure whether its correct or not.
Once i do this i could see long list of <b>Object name and its description.</b>
Now, what should i do ? where should i go for "Enterprise Services Tab" to create my proxy.
Any help would be appreciated.
Please send me PDF, having detailed steps to create client proxy.
Thanks,
PranavRight click on the package and select Proxy object. In the Wizard select Service Consumer.
then give the url of the WSDL file you want to access or path if u have a local file.
then give the package for client proxy.
then complete the wizard. the client proxy will be create in that package.
Next step will be creating a Logical Port using the transaction "lpconfig". Give the proxy name of the service interface created under client proxy. and set the configuration as follows.
1. Make as a default port.
2. in the URL, give the url of the webservice (.asmx)
3. select "State Enabled" and "Message ID"
and after creating a logical port, set the proxy settings as in your webbrowser.
(Http proxy server and port).
then simply execute your webservice from SE80. -
How to determine the sender business system for ABAP client proxy
Hi All,
I have one doubt: when the client proxy sends the message to XI, how could i know what is the sender business system name for it?
Is it the logical system which is reflected in Technical System?
let's say if i have the ABAP system, the technical system is ECC, which has three clients: 001, 066 and 000.
And the client 001's logical system in ECCCLNT001 (all the client proxy is created in this client). In this case, the sender business system name is ECCCLNT001, am i right?
If no, please correct me.
Thanks in advance
LeoHi lawrence
When data is distributed between different systems, each system within a network has to be clearly identifiable. The u201Clogical systemu201D deals with this issue.
A logical system is an application system in which the applications work together on a common data basis. In SAP terms, the logical system is a client.
Since the logical system name is used to identify a system uniquely within the network, two systems cannot have the same name if they are connected to each other as BW systems or as source systems, or if there are plans to connect them in any way.
Although SAP does not recommend that you connect test systems to production systems, a test system can have the same name as a production system. This makes copying production systems to test systems a lot simpler.
You are only allowed to change the logical system name of a system if the system is not connected to any other systems, because changing the logical system name would render all the connections to other systems useless.
Logical system names must contain capital letters and numbers only. SAP recommends the following naming convention for logical system names: <System-ID>CLNT<Client>.
Regards
sandeep
Maybe you are looking for
-
Can you help me design my database?
Hi: I am making a database with ms sql 2000 and then I want to make the interface with CF7. My problem is : I have some patient information. Each patient can have many different cancers (up to 10 maximum). What should I do? Make a Patient_Info table
-
I have built a PID controller in labview. Ive been using time domain math, integral and continous calculation. And it works well. But I need a anti wind up. Is there a easy way to build this? I want to build it my self, and not use the PID block. Or
-
Value to be entered for Version type while populating metadata into Plannin
Hi I have extracted the version dimension from my outline. Now i need to push it into Planning 11. I have reversed the planning dimension 7 using the version dimension to push value. After extract, the version type comes under UDA as "Standard bottom
-
Bridge cs6 doesn't recognize my cs5.5 .indd files?
I just upgraded from CS 5.5 to CS 6. When I go into Bridge and double click an old CS5.5 .indd file it tries to open in MS Word. (I find this very strange) If I right click the file and click "open with" the only option it gives me is MS Word. I don'
-
How to use dbms_Scheduler.Create_Job from within stored procedure?
Hello, using 10g (10.1.0.2.0) on Windows 2000 I had problems to create scheduler jobs from within a stored procedure (see example below). What easily succeeds using anonymous blocks failed when calling from a stored procedure, due to ORA-27486. Only