WHICH SOAP CLIENT STACK FOR JDEV 10.1.3 WEBPROXY ?
Hello everybody,
I just succeeded in calling webservice stubs, created in Jdeveloper 10.1.2., from a oracle10G (R2) DB. This works perfectly...
Now i'm trying to deploy the same webservice from Jdeveloper 10.1.3 into the same database. I generated a proxy (whereas in Jdeveloper 10.1.2 you create a stub) and deployed a static method from the client class, in the proxy, into the DB (similar to the approach in Jdeveloper 10.1.2). However this doesn't work. I get a big list of error messages containing all reference errors. My guess is that the soap client stack, loaded into Oracle, is different for both versions of Jdeveloper. In that case i'm still working with the stack for jdev 10.1.2 where I should be working with the stack form jdev10.1.3.
Can anyone please tell me what .JAR's I have to load in the DB to get the proper stack needed for calling 10.1.3 proxys (or stub as you will)?
Many thx in advance!!!!
Grtz,
Kim
I found out that Jdeveloper 10.1.3 works with JAX-RPC webservices. So instead of installing the SOAP client stack one should install the JAX-RPC stack in the database. this stack is found on the oracle site ( search for call-out utilities).
Hope this helps people with the same problem!
Message was edited by:
Kim Zeevaarders
Similar Messages
-
Hello all,
we must connect to a oracle7 server from a linux box.
I can't connect to the oracle7 server with the Oracle client 9/10/11...
Can I use, for example, the "Oracle 9/10 client"?
Some forums entries says, that this was not possible.
JDBC THIN driver works from several client versions, so I'm a little confused;()
Any hint?
Best regards
AndreHello Nigel,
thanks for your hints!!!
OCI doesn't work like JDBC - so compatibility matrix is different. There was a major change to OCI - around version 9 time?May be, I need a Client for oracle7.3 server...
Where can I download the correct client for this version (C/C++ Linux)?
Is there anywhere archived? On oracle.com I found only client packages for Version 9 and above;()
From OCI Programmers Guide 10g: The server versions supported currently are found on Oracle iSupport in note 207303.1. See the URL
http://metalink.oracle.com/
From the 9.2 Migration Guide: For OCI, Oracle7 client software can run against a release 8.0 or higher Oracle server, and release 8.0 and higher client software
can run against an Oracle7 server. Hmm, should work with simple calls. I can't connect with sql_plus to the oracle machine, may be there is a wrong configuration...
If a release 8.0 or higher client is running against an Oracle7 server, then the application cannot use features available in
release 8.0 and higher, including object capabilities.
I believe you may have a problem if you use version 9 style OCI calls rather than the version 7 style. See Upgrading your application.I will use the correct client for oracle7.3, but where can I download them???
We haven't a "Support Identifier", so I can't register me on "metalink.oracle.com".
Best regards
Andre -
How-To install SOAP Client Stack in Oracle Database
Hi,
1. i wrote a java clientstub that accesses a webservice.
2. all works fine if i run it from within java.
3. i then tried to port it to oracle database.
4. loading the java classes defined in the sample code works fine too.
5. i then loaded my client (wrapper and client-stub) classes and made pl/sql procedure from the wrapper.
6. i try to access the webservice
the problem:
1. if i made step 5 in SYS-SCHEMA all is ok
2. if i made step 5 in an other SCHEMA i got an exception in step 6:
java.lang.NoClassDefFoundError
the code line is pointing to: m_httpConnection = new OracleSOAPHTTPConnection();
this is located in the client-stub class constructor
there exist synonyms of all classes in the public schema.
is it a problem with priviledges, and if what priviledges are required?
if this isn't the best way to access webservices from within oracle database, what other solutions are possible?
if more information are required, please let me know
thanks
ralfHi,
Refer to this document for information on loading SOAP jar files to the database.
The database schema you are using needs to be granted the following permission to access the external web service
execute dbms_java.grant_permission('<dbuser>','SYS:java.net.SocketPermission','<host-name>:<port>','connect,resolve');
where, <host-name> and <port> point to the location where the webservice is running. If you are behind a firewall, use the proxy host and port here.
For more information on accessing external web service from the database refer to the samples on the Database Web Services Page
HTH,
Sujatha
OTN Group. -
IDoc to SOAP: client handler for response
Hello All,
I have a scenario with IDOC to Web services.
Is it possible to establish synchronous communication?
We do not want to use BPM.
I tried with importing IDOC structure into External definition, and then defining it as Synchronous Interface like this
IDOC Interface(Outbound) -> output:'ZINVOIC'
input: 'Response'
WSDL Interface(Inbound) -> input:'Request'
output:'Response'
But this did not work as the response is still going from Web services to the sender channel which is IDoc adapter
If asynchronous, the web service party is telling me to set up a client handler to listen to the responce that web service is sending. Is it possible? and if possible, please explain the steps.
Please help me out with this!
Thanks,
LakshmiHello Lakshmi,
We also had similar requirement. This cannot be synchronous. IDOC to Webservice is always an asyn communication.
Hope this helps.
Thanks
-Kulwant -
Handling of SOAP Faults in SOAP Clients consuming PI Web services
Hi there,
the following is in regards to SOAP fault error handling in a SOAP client that consumes a Web Service published by PI.
I have been reading a number of threads and blogs in regards to this topic and I am still left with some open questions which I hope to get some final answersclarifications through this thread.
In particular the blogs
Handling Web Service SOAP Fault Responses in SAP NetWeaver XI - Handling Web Service SOAP Fault Responses in SAP NetWeaver XI
XI: Propagation of meaningful error information to SOAP Client - XI: Propagation of meaningful error information to SOAP Client
have caused by attention.
Both of these threads are realating to the Fault Message type one can use to return errors back to a SOAP Client (.Net, Java, etc.).
In our scenario we published a number of Web Services through PI that provide functionality to integrate with an R3 back-end system using inbound ABAP Proxies.
The services are standardised and will be consumed by a number of .NetJava applications and systems. The reason for the use of ABAP proxies is the customer specific application logic that is executed in the backend system. The Web services are synchronous and don't use ccBPM in the middle. Transformations are performed in PI combined with various lookups to set default values before the message is passed into the ABAP Framework of the R3 back-end system. The lookups are done against the R3 back-end system using the PI RFC Lookup feature.
The inbound proxies currently return application errors as part of the response message back to the SOAP client. For more critical errors we introduced the use of Fault message types as the method to return the information back to the SOAP Client. This is all working satisfactory.
The questions I have are as follows.
1. When an error occurs at the IE level (e.g. mapping error), ABAP Proxy framework level (e.g. conversion from XML to ABAP format) or Adapter Framework level (Adapter releated error) a different SOAP fault message structure is returned to the SOAP Client than the one used for the application errors. The SOAP fault message structure used in this case is the standard SOAP fault used by PI to return system errors back to the caller. For those SOAP fault messages there is no payload generated that could be mapped to the SOAP fault structure used for the application errors. This would be preferrable as there would be only one Fault message structure used for both inbound ABAP proxy generated fault messages and PI generated fault messages.
Also the error messages generated by PI can be quite cryptic and difficult to interpret at the client end and could be filtered ranslated during message mapping if the payload of the PI generated SOAP fault message could be accessed in a message mapping.
Point 3 of the above thread 2759 indicates that this would be possible but doesn't outline how. Could somebody please clarify this for me as I don't believe that this is really possible ???.
My idea instead was to use the PI SOAP fault message structure to also return application errors. Therefore I would create a Fault message type that matches the PI SOAP fault structure. This would enable the SOAP Client to handle only one SOAP Fault error structure. Would that be something to look into instead ?????.
2. We have been looking at using the integrated WEB AS SOAP adapter instead of using the AF Sender SOAP adapter. While playing with this we encountered differences in the content returned through the SOAP fault generated by PI. A sample is below. Shouldn't the content of these SOAP faults be the same if the error that caused it is the same. Also the SOAP fault returned by the IE SOAP adapter is much more useful in this particular case. Both errors below are the same, a conversion error from XML to ABAP took place in the inbound ABAP proxy framework of the back-end system.
SOAP fault returned when using SOAP Sender adapter of AF
<!see the documentation>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.aii.af.ra.ms.api.DeliveryException: XIProxy:PARSE_APPLICATION_DATA:
at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:916)
at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
SOAP fault using integrated SOAP adapter of PI IE
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context/>
<code>ABAP.PARSE_APPLICATION_DATA</code>
<text>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXSBE20FF604BAFEF8D990A XML Bytepos.: 564 XML Path: ns1:CreatePORequest(1)POHEADER(2)COMP_CODE(1) Error Text: Data loss occurred when converting ############################## Kernel ErrorId: CONVT_DATA_LOSS))</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I have been reading threads for hours without being able to find one that answers questions 1 or provides a blog that outlines the approach one should take for error handling in SOAP clients that consume PI Web Services (and covers both PISystem generated faults and faults raised in Proxies).
There may already be a blog or thread and I just missed it.
Any comments are welcome.
Thanks. DieterHi Dieter,
As Bhavesh already mentioned fault messages are used for application errors. The same is described in SAP XI help:
http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
In case of system error (e.g. field length too long in proxy call or error in XI/PI mapping) there seems to be no standard way of handling it and propagating the response to the consumer of webservice.
Each system error is not recognized by SOAP adapter and SOAP adapter exception is raised.
The only bizzare solution that I can see is developing an adapter module and transport wrong message to standard fault message before delivering it to adapter engine:
http://help.sap.com/saphelp_nw04/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
Kind regards,
Wojciech
btw nice thread -
Deployment of SOAP client...
Hi,
My setup is iAS 10.1.2.0, database is 10.1.0.2, JDeveloper is 10.1.2.0.
I am trying to deploy a SOAP client stub to the database, when I get the errors below. Obviously I will have to load some JARs to correct this.
Having read the "http://www.oracle.com/technology/sample_code/tech/java/jsp/loadjars.html" page, I am not sure what jar files I will have to load to the 10g database (will I really need the OC4J downloaded files or can I do with the ones supplied in the database directories?), and if there are any obstacles I need to be aware of beforehand?
Cheers,
Jørgen
ORA-29521: referenced name oracle/soap/transport/http/OracleSOAPHTTPConnection could not be found
ORA-29521: referenced name org/apache/soap/encoding/SOAPMappingRegistry could not be found
ORA-29521: referenced name org/apache/soap/rpc/Call could not be found
ORA-29521: referenced name org/apache/soap/rpc/Parameter could not be found
ORA-29521: referenced name org/apache/soap/SOAPException could not be found
ORA-29521: referenced name org/apache/soap/rpc/Response could not be found
ORA-29521: referenced name org/apache/soap/Fault could not be found
ORA-29521: referenced name org/apache/soap/transport/SOAPTransport could not be foundFollowing up on the "How-To Install Soap Client Stack in Oracle..." note, I tried to base the install on the JARs available in the database installation, using the following script:
set OC4J_HOME=C:\Oracle\DB\oc4j
set ORACLE_HOME=C:\Oracle\DB
loadjava -thin -user sys/oracle@w2koracleas10g:1521:orcl -resolve -synonym -verbose -grant public %OC4J_HOME%/soap/lib/soap.jar %OC4J_HOME%/lib/dms.jar %OC4J_HOME%/jlib/javax-ssl-1_1.jar %ORACLE_HOME%/lib/servlet.jar %ORACLE_HOME%/jdk/jre/lib/ext/mail.jar
I see two problems from this:
-the SSL classes are not being loaded (I seem to remember having read that these are not supposed to go into the SYS schema, correct?)
-Among others, I receive an error "ORA-29534: referenced object SYS.oracle/soap/transport/http/OracleSOAPHTTPConnection could not be resolved". This last error is preventing me from deploying the webservice client stub.
Any hints/tips are very welcome! -How have you deployed these JARs into 10.1.0.2? -
Hiding business-logic methods from the SOAP Client
Hello,
Is there any way to hide a method from the SOAP Client.
For Example, Lets say I have two methods in my object Foo. And the client of this web-service can create Foo thru SOAP API. The method are:
public String getName();
public Group getGroup();
I want the SOAP client to see the Foo object only with getName() and not getGroup().
Can I control this thru Java2Wsdl or something else?
Thanks,
Neeta.You can use source2wsdd with @wlws:exclude tag for the methods you want to hide.
-
Client Certification for Sender SOAP Adapter
I am trying to configure an incoming SOAP call to allow client certification for autentication and not ask for username/pwd. I already tried changing the configuration of the SOAP adater in visual admin to have the client certification module with no luck.
Please let me know if anyone has already done this before.Hi,
Check the link for Client Certificate authentication...
[http://www.i-barile.it/SDN/EnablingSSL&ClientCertificatesOnTheSAPJ2EEEngine.pdf]
Regards,
Prakasu.M -
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 -
Which oracle client for aix 6 xi31 sp3?
I need oracle client 10.2 for a installation of xi31 sp3 on aix 6 with an oracle 11g db in order for ldap to work properly.
My apologies for my lack of DB (oracle) experience, however, can someone please tell me which file I need for this and the associated link to download it?Hi,
Please explain in more details what do you mean "which files"?
If you mean getting the physical files, then :
To download BOE XI 3.1 with SP3, you need to log onto the SAP Support Portal (aka: Service Market Place) - http://service.sap.com/
The Oracle D/B and the Oracle client will need to come from Oracle website. You will need to check with Oracle to see how you can get your hands on the files.
As for AIX 6.1, I assumed that should already been setup since you quoted that in your last note.
Ken -
SOAP client receives HTTP 302 Found
Hi all
I have a message interface for which I generated a wsdl pointing to the SOAP adapter:
http://server:50000/XISOAPAdapter/MessageServlet?channel:=servicename:channelname
If I am using SAP Soap Client to send a request (http, HTTP Basic Auth.) everything is fine, the message is in the SOAP adapter, in IS and I receive a correct SOAP response.
But if am using other clients, e. g. SoapUI, I get an HTTP 302 Found error back before the data even reaches the SOAP adapter (no message there).
Has anybody an idea how to solve this or where to find more information about it?
Thanks in advanceThanks for your answers,
but I am still lost with this error. The cluster only consists of one server node and the redirect posts to
http*s*://server:5000*1*/XISOAPAdapter/MessageServlet?channel:=servicename:channelname
So it changes to https. Why is this? What is the client (which is a standard application that we cannot change) supposed to do?
Thanks for any info
Hans -
Client copies for XI and BI Netweaver 4s
I'm in the process of building our development ECC 6.0 environment. The environment contains BI, XI, EP, ERP and Solution Manager each on seperate physical systems. We are building an ABAP and Java stack on BI, XI, ERP and solution manager. Our SAP consultants are informing me that the initial installation of client 001 (which is a copy of client 000) is configured during the installation on XI and BI systems. Creating a new client has no value and requires most of the configuration to be redone. Since both systems can only use one client, is there any value in performing this client copy other than standardizing the client numbers?
Hi Lee,
You can do a client copy and create a specific client for the PI (formerly XI) and BI capabilities or just use client 001 for both.
Obviously the latter option is the easiest one.
The only benefit is that security might be easier with a separate client for each but that is a pretty weak argument in my opinion.
BTW: You can't share a client for PI/BI with an ERP client.
Cheers,
Mike. -
Unable to connect SOAP to RFC using soap client.
I have tested the SOAP to RFC sync scenario today using a soap client.I have encountered the following error at the SOAP sender channel.
"java.lang.NullPointerException
at com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageOperator.getQualityOfServiceAsString"
the only possible solution found till now through forum is to apply SAP NOTE 1239995. As it is confirmed that SAP note 1239995 is already in the system , request you to post it to SAP for getting any OASIS note . I am also posting the message to SDN forum to get some help.
We are able to connect to the integration server, but are unable to connect through the communication channel.
Is there any othere OASIS notes need to be applied here? Or any other information is need which i am missing ?
regards,
AbhishekYou are in the right track. Looks like you need latest service pack for the soap channel. Follow this thread...
ADAPTER.JAVA_EXCEPTION XMBMessageOperator.getQualityOfServiceAsString error
This link says
Error in sending XML from SoapUI to SAP PI 7.11
This patch level will fix SAPXIAF06P patch #6 (SP-level #06)
Edited by: Baskar Gopal on Apr 5, 2011 4:33 PM -
Errors generating client stubs for web services
Hello,
We are having issues trying to generate client stubs from the Unifier wsdl document (mainservice.wsdl). I see this was generated using Axis 1.4 (2006). I normally use Apache CXF but it complains due to the use of RPC/encoding. I tried Axis2 but it complains about "SchemaCompilationException: can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema". I am wondering if we need to use Axis 1.4?
If you have successfully generated client stubs from the wsdl documents please let me know which method was successful for you.
We have Unifier R9.12 installed.
Thank you
RudyI found more notes on what I had to do:
- the process above created package names like java.oracle_e1_bssv_jp010000
- we need to rename these to be proper package names.
- refresh the eclipse project so you see these folders
- select the package, right click, refactor, rename
- rename these to be like oracle.e1.bssv.jp010000 (remove the java. and replace _ with .)
- there will probably be a bunch of errors in individual java files you will need to fix.
- they are very easy, it should be a matter of just deleting the imports, these are not needed because they are in the same package. -
Windows Client available for AccAD 2.3?
Hello,
we've downloaded the new AccAD version 2.3 today to begin trials. We noticed that the installation package for the windows client is corrrupt (only 31 bytes)? Is this a packaging error or is the Windows client missing for 2.3?
Best regards
Victor Viqueira RodriguezHello,
unfortunately there is no such section
Comprised Software Component Versions
under the AccAD 2.3 tree so that I can download the client separately.
There is only a link to
Link to SP Stack Application
in which I end up in an error showing:
An unexpected error occurred while calculating the list of files for the SP Stack download. Please contact SAP Support for help in resolving this issue.
Start SP Stack: AAD 2.3 FOR SAP NETWEAVER - ISS Initial Shipment Stack
Target SP Stack : AAD 2.3 FOR SAP NETWEAVER - SPS 01 (10/2011)
Any suggestions
Thanks a lot and best regards
Victor
Maybe you are looking for
-
Should I be able to charge my battery when watching video/playing music on my computer?
I recently have been having trouble with my macbook pro, says it's an 8.1 using OS X version 10.6.8. The other day, it would not charge unless I shut the cover for the computer. Took it to an authorized Apple repair place and they gave it a quick loo
-
Item Renderer Display Optimization
I have pretty basic row item renderer displayed within a data group, it is composed of a few labels and an icon. It has a few nested layouts to display everything properly, but I would not consider it a complicated layout by any means. Whenever I dis
-
I just upgraded to ilife iphoto 09. Now when I alter images in iphoto 8.1.2 the program freezes up. I have downloaded all of the latest updates from apple, but nothing seems to correct this problem. Has anyone else experienced this? Thanks for your
-
Validation Category in MM01 disable
Hello I am creating a new Plant. I have already 4 plants working whit split valuation "Automat.(batch)" i have activate the new plant in T-Cod OMWC equal as the other plants! But when i trie to create a new material code in T-cod MM01 our extend an e
-
Nokia N85 so many problems but no responce from No...
I've now read lots of complains concerning the N85; loose slider, rebooting, video recording is hopeless and so on. I've have for now 12 days been the owner of two N85, and I'm sorry to say, that I agree with the mentions complains. I've Nokia fan fo