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 found
Following 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?
Similar Messages
-
Error while trying to deploy a SOAP service to 9iAS
Hi,
I try to deploy the simple clock sample to Oracle 9iAS 9.0.3 and I get the following output:
This test uses a SOAP URL of http://avia.mindcti.com:7777/soap/servlet/soaproute
r
Deploying the simpleclock service...
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:IOException; msg=C
onnection refused: connect; targetException=java.net.ConnectException: Connectio
n refused: connect]
at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHT
TPConnection.java:765)
at org.apache.soap.rpc.Call.invoke(Call.java:261)
at oracle.soap.client.ServiceManagerClient.invokeMethod(ServiceManagerCl
ient.java:122)
at oracle.soap.client.ServiceManagerClient.deploy(ServiceManagerClient.j
ava:135)
at oracle.soap.client.ServiceManagerClient.main(ServiceManagerClient.jav
a:229)
I get similar errors when trying to connect to the SOAP server from JDeveloper. What can be the problem?
Thanks in advance,
AviIn 903 Oracle SOAP ( based on Apache SOAP) is not configured by deafult, since Oracle SOAP is a depricated feature;
Prefered way of building web services is using 'J2EE Web services'. But if you stilll want to use Oracle SOAP web services
You need to depoy the Oracle SOAP application that is there in soap directory.
thanks
Venky Ravipati -
Parsing error when running a SOAP client
New to SOAP. Tring to get get it up an running using some of the Oreilly examples from Java and XML. Anyone with any suggestions to fix the error I am getting. Thanx in advance.
1>This is my simple SAX client:
package xml;
import java.net.URL;
import java.util.Vector;
import org.apache.soap.Constants;
import org.apache.soap.Fault;
import org.apache.soap.rpc.Call;
import org.apache.soap.SOAPException;
import org.apache.soap.rpc.Parameter;
import org.apache.soap.rpc.Response;
public class CDAdder {
public void add(URL url, String title, String artist) throws SOAPException {
System.out.println("Adding CD titled '" + title + "' by '" + artist + "'");
//Build the call object
Call call = new Call();
call.setEncodingStyleURI("urn:cd-catalog");
call.setMethodName("addCD");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
//Setup the parameters
Vector params = new Vector();
params.addElement(new Parameter("title",String.class,title,null));
params.addElement(new Parameter("artist",String.class,artist,null));
call.setParams(params);
//Invoke the call
Response response;
response = call.invoke(url,"");
if(!response.generatedFault()) {
System.out.println("Successful CD Addition");
} else {
Fault fault = response.getFault();
System.out.println("Error encountered: " + fault.getFaultString());
public static void main(String[] args) {
try {
URL url = new URL("http://localhost:8081/soap/servlet/rpcrouter");
String title = "Riding the Midnight Train";
String artist = "Doc Watson";
CDAdder adder = new CDAdder();
adder.add(url, title, artist);
} catch(Exception e) {
e.printStackTrace();
2>My service:
package javaxml2;
import java.util.Hashtable;
public class CDCatalog {
private Hashtable catalog;
public CDCatalog() {
catalog = new Hashtable();
catalog.put("Nickel Creek", "Nickel Creek");
catalog.put("Let it Fall", "Sean Watkins");
catalog.put("Aerial Boundaries", "Michael Hedges");
catalog.put("Taproot", "Michael Hedges");
public void addCD(String title, String artist) {
if ((title == null) || (artist==null)) {
throw new IllegalArgumentException("Title or Artist cannot be null.");
catalog.put(title, artist);
public String getArtist(String title) {
if (title == null) {
throw new IllegalArgumentException("Title cannot be null.");
return (String)catalog.get(title);
public Hashtable list() {
return catalog;
3>My deployement descriptor:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:cd-catalog"
>
<isd:provider type="java"
scope="Application"
methods="addCD getCD list"
>
<isd:java class="javaxml2.CDCatalog" static="false" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
4>I have deployed the SOAP Service:
D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
lhost:8081/soap/servlet/rpcrouter deploy xml/CDCatalogDD.xml
D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
lhost:8081/soap/servlet/rpcrouter list
Deployed Services:
urn:cd-catalog
D:\XML-RPC\javaxml2>
Error when I try using the service:FYI: I am running the client with JBuilder 2005
Adding CD titled 'Riding the Midnight Train' by 'Doc Watson'
Error encountered: parsing error: org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="ns1",rawname="xmlns:ns1"" is invalid. Prefixed namespace bindings may not be empty.call.setEncodingStyleURI("urn:cd-catalog");
in the SOAP client has to be
call.setTargetObjectURI("urn:cd-catalog"); -
Wanted SOAP client and server examples
I am unable to run the SOAP client and server programs.
Can anybody help me by providing some simple soap examples of both
client and server and also how to deploy them.JAX-WS has a number of samples as does NetBeans. Check out http:/jax-ws.dev.java.net and http://www.netbeans.org/kb/55/websvc-jax-ws.html
-
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,
KimI 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 -
Wls7.0 soap client jar under wl6 problems
Hi.
I downloaded the soap client jar file from a wl7 service. I am trying to package the client jar file and webserviceclient jar file for my ejb under wl6. But when I deploy my application, it says noMethod found exception. It seems that there are some class conflicts of the weblogic client service jar file and wl6 libraries. I badly need help on this.True, normal WLS 7.0 web service client will not work
in WLS 6.1 due to class conflict. So you need to use
portable client.
Here is an 8.1 example (It may work on 7.0):
http://manojc.com/?sample29
Here is the doc for portable stubs in 7.0:
http://edocs.bea.com/wls/docs70/webserv/client.html#1061489
Also, please use the latest 7.0 SP.
HTHs,
-manoj
http://manojc.com
"Naveed Ahmad" <[email protected]> wrote in message
news:3ebdb882$[email protected]..
Hi.
I downloaded the soap client jar file from a wl7 service. I am trying topackage the client jar file and webserviceclient jar file for my ejb under
wl6. But when I deploy my application, it says noMethod found exception. It
seems that there are some class conflicts of the weblogic client service jar
file and wl6 libraries. I badly need help on this.
> -
Https call from SAP SOAP client tool
Hi,
in order to call a webservice via https using the SAP SOAP client tool, I've done the following:
1. The Client cert field filled with my personal certificate from IE (pcert.pfx)
2. The Trust store field left as it was (cacerts file of the jre).
When calling the service I am getting
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Very likely this is caused by setting 2.
Could anybody advise how to get an X.509 certificate of trusted root CAs? Any chance to export from IE or would one have to get that from a CA? File types required are ppfx or p12, which is strange since these contain private keys.
Much appreciated.
Rene FunkeHi Rene,
You need to include the full certificate chain in the p12 file. i.e. private cert and root CA cert. IE will not export the full certificate path with the private certificate unless it was imported into IE with this flag set. You could use Firefox to generate the pks12 file. It will include the full certificate path.
This private certificate (p12 file) should then be added to the truststore in XI.
Also, .p12 (pkcs#12) file format defines a file format commonly used to store private keys with accompanying public key certificates - not just private keys.
Hope this helps.
Bryan -
Windows WSUS 3.276 on Windows Server 2008 R2 not deploying updates to Clients
Update Services
Microsoft Corporation
Version: 3.2.7600.226
Updates services is downloading Current updates for the platforms I selected.
It is finding and interfacing with all windows computers are the network.
I select updates to install to computer groups but they are not getting installed.
You can see from the report it needs to install 41 updates but they are not being installed.
Why are the not getting installed?
"No events are available. This may be because the client has not yet sent the event or the events have been purged from the server. Please refer to %WINDIR%\WindowsUpdate.log on robtruet-pc.leopold.int for details."
The Report for most of the Clients show.
0 updates failed to install.
40 updates have not been installed
0 updates have been install or not applicable.
0 updates have unknown status.
I login to the client and it shows Windows is up to date. But I look at updates installed history and now updates exist for the last 60 days.
I included the log from the client below for one day.
2015-03-04 23:27:18:212 1184 ae8 Handler Using CBS interface ICbsSession7
2015-03-04 23:27:23:407 1184 ae8 Agent * Found 0 updates and 77 categories in search; evaluated appl. rules of 1448 out of 2726 deployed entities
2015-03-04 23:27:23:500 1184 ae8 Agent *********
2015-03-04 23:27:23:500 1184 ae8 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-03-04 23:27:23:500 1184 ae8 Agent *************
2015-03-04 23:27:23:578 1184 84c AU >>## RESUMED ## AU: Search for updates [CallId = {D60CD7C9-6547-413B-AB87-35F737F8BA18}]
2015-03-04 23:27:23:578 1184 84c AU # 0 updates detected
2015-03-04 23:27:23:578 1184 84c AU #########
2015-03-04 23:27:23:578 1184 84c AU ## END ## AU: Search for updates [CallId = {D60CD7C9-6547-413B-AB87-35F737F8BA18}]
2015-03-04 23:27:23:578 1184 84c AU #############
2015-03-04 23:27:23:578 1184 84c AU Successfully wrote event for AU health state:0
2015-03-04 23:27:23:578 1184 84c AU Featured notifications is disabled.
2015-03-04 23:27:23:578 1184 84c AU AU setting next detection timeout to 2015-03-05 09:22:52
2015-03-04 23:27:23:578 1184 84c AU Setting AU scheduled install time to 2015-03-05 08:00:00
2015-03-04 23:27:23:578 1184 84c AU Successfully wrote event for AU health state:0
2015-03-04 23:27:23:609 1184 84c AU Successfully wrote event for AU health state:0
2015-03-04 23:27:28:539 1184 ae8 Report REPORT EVENT: {1A5F7E5E-1B5A-4E13-A21C-489D2906CB75} 2015-03-04 23:27:23:485-0500 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2015-03-04 23:27:28:539 1184 ae8 Report REPORT EVENT: {3FA6CBE2-31F4-4D8E-9E44-47EDCC077FCC} 2015-03-04 23:27:23:500-0500 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2015-03-04 23:27:28:555 1184 ae8 Report CWERReporter finishing event handling. (00000000)
2015-03-04 23:39:15:718 1184 ae8 Report Uploading 2 events using cached cookie, reporting URL = http://192.168.1.24:8530/ReportingWebService/ReportingWebService.asmx
2015-03-04 23:39:15:796 1184 ae8 Report Reporter successfully uploaded 2 events.
2015-03-05 03:00:09:814 1184 e88 AU Forced install timer expired for scheduled install
2015-03-05 03:00:09:814 1184 e88 AU UpdateDownloadProperties: 0 download(s) are still in progress.
2015-03-05 03:00:09:829 1184 e88 AU Setting AU scheduled install time to 2015-03-06 08:00:00
2015-03-05 03:00:09:829 1184 e88 AU Successfully wrote event for AU health state:0
2015-03-05 03:00:14:837 1184 2680 Report CWERReporter finishing event handling. (00000000)
2015-03-05 04:22:52:598 1184 e88 AU #############
2015-03-05 04:22:52:598 1184 e88 AU ## START ## AU: Search for updates
2015-03-05 04:22:52:598 1184 e88 AU #########
2015-03-05 04:22:52:676 1184 e88 AU <<## SUBMITTED ## AU: Search for updates [CallId = {F615A07F-8986-4EB3-9D45-319F2AE1499A}]
2015-03-05 04:22:52:676 1184 1864 Agent *************
2015-03-05 04:22:52:676 1184 1864 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-03-05 04:22:52:691 1184 1864 Agent *********
2015-03-05 04:22:52:691 1184 1864 Agent * Online = Yes; Ignore download priority = No
2015-03-05 04:22:52:691 1184 1864 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2015-03-05 04:22:52:691 1184 1864 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2015-03-05 04:22:52:691 1184 1864 Agent * Search Scope = {Machine}
2015-03-05 04:22:53:206 1184 1864 Setup Checking for agent SelfUpdate
2015-03-05 04:22:53:237 1184 1864 Setup Client version: Core: 7.6.7600.320 Aux: 7.6.7600.320
2015-03-05 04:22:55:952 1184 1864 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
2015-03-05 04:22:56:092 1184 1864 Misc Microsoft signed: NA
2015-03-05 04:22:56:123 1184 1864 Misc WARNING: Cab does not contain correct inner CAB file.
2015-03-05 04:22:56:123 1184 1864 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
2015-03-05 04:22:56:139 1184 1864 Misc Microsoft signed: NA
2015-03-05 04:22:56:170 1184 1864 Setup Wuident for the managed service is valid but not quorum-signed. Skipping selfupdate.
2015-03-05 04:22:56:186 1184 1864 Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
2015-03-05 04:22:56:186 1184 1864 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2015-03-05 04:23:22:269 1184 1864 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2015-03-05 04:23:22:269 1184 1864 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://192.168.1.24:8530/ClientWebService/client.asmx
2015-03-05 04:23:22:909 1184 1864 PT WARNING: Cached cookie has expired or new PID is available
2015-03-05 04:23:22:940 1184 1864 PT Initializing simple targeting cookie, clientId = b4d326e5-c396-4ee2-b2c4-c7cd25795a63, target group = , DNS name = arm-pal-ws10.leopold.int
2015-03-05 04:23:22:940 1184 1864 PT Server URL = http://192.168.1.24:8530/SimpleAuthWebService/SimpleAuth.asmx
2015-03-05 04:23:34:702 1184 1864 Handler Using CBS interface ICbsSession72015-03-05 19:36:45:323 1184 2390
Handler Using CBS interface ICbsSession7
2015-03-05 19:36:45:432 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:45:744 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:45:869 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:45:978 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:087 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:181 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:306 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:399 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:680 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:789 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:46:883 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:47:086 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:47:179 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:020 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:207 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:301 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:410 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:504 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:597 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:722 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:862 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:49:956 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:065 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:159 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:299 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:393 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:518 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:611 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:705 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:814 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:50:908 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:017 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:142 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:251 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:360 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:454 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:547 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:844 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:51:953 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:062 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:156 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:249 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:358 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:530 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:624 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:717 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:842 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:52:951 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:060 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:170 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:263 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:372 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:497 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:606 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:700 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:794 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:53:934 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:028 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:121 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:230 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:340 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:433 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:527 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:714 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:901 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:54:995 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:088 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:182 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:322 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:416 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:510 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:603 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:697 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:790 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:884 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:55:978 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:56:336 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:56:446 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:56:539 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:56:648 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:56:836 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:57:007 1184 2390 Handler Using CBS interface ICbsSession7
2015-03-05 19:36:58:349 1184 2390 Agent * Found 0 updates and 77 categories in search; evaluated appl. rules of 1448 out of 2726 deployed entities
2015-03-05 19:36:58:489 1184 2390 Agent *********
2015-03-05 19:36:58:489 1184 2390 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-03-05 19:36:58:489 1184 2390 Agent *************
2015-03-05 19:36:58:552 1184 1540 AU >>## RESUMED ## AU: Search for updates [CallId = {60067F42-15BA-49A9-BB09-5DE40DC141E4}]
2015-03-05 19:36:58:552 1184 1540 AU # 0 updates detected
2015-03-05 19:36:58:552 1184 1540 AU #########
2015-03-05 19:36:58:552 1184 1540 AU ## END ## AU: Search for updates [CallId = {60067F42-15BA-49A9-BB09-5DE40DC141E4}]
2015-03-05 19:36:58:552 1184 1540 AU #############
2015-03-05 19:36:58:567 1184 1540 AU Successfully wrote event for AU health state:0
2015-03-05 19:36:58:567 1184 1540 AU Featured notifications is disabled.
2015-03-05 19:36:58:567 1184 1540 AU AU setting next detection timeout to 2015-03-06 05:37:36
2015-03-05 19:36:58:567 1184 1540 AU Setting AU scheduled install time to 2015-03-06 08:00:00
2015-03-05 19:36:58:567 1184 1540 AU Successfully wrote event for AU health state:0
2015-03-05 19:36:58:583 1184 1540 AU Successfully wrote event for AU health state:0
2015-03-05 19:37:03:559 1184 2390 Report REPORT EVENT: {A94CF35E-0BD0-4E1F-9BF4-8263ED8ACAC8} 2015-03-05 19:36:58:474-0500 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2015-03-05 19:37:03:559 1184 2390 Report REPORT EVENT: {B4FB174B-F3C9-4269-A9C7-180C1B25AEAC} 2015-03-05 19:36:58:489-0500 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2015-03-05 19:37:03:559 1184 2390 Report CWERReporter finishing event handling. (00000000)
2015-03-05 19:48:50:738 1184 2390 Report Uploading 2 events using cached cookie, reporting URL = http://192.168.1.24:8530/ReportingWebService/ReportingWebService.asmx
2015-03-05 19:48:50:801 1184 2390 Report Reporter successfully uploaded 2 events.Hi,
Please make sure that the update files have been downloaded on the WSUS server.
Update will be available only if it has been downloaded.
Also, please check if the Network Service has the Full Control permission on the WSUS content folder.
Best Regards.
Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
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 -
Using CopyIntoItems from Copy.asmx from a remote soap client
Hello,
I have been working on a soap client that runs on a remote client (not on the SharePoint server) and is platform-independent so that it cannot use the SP Object Model. I have managed to get most of the functionality working using SharePoint web-services except for CopyIntoItems.
My target server is a SharePoint 2007 server and I have a Document Library set up so I can upload files into it.
My soap request looks as follows.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<CopyIntoItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<SourceUrl>http://null</SourceUrl>
<DestinationUrls>
<string>http://shpt.ad2010.local:35492/sites/targetsubsite/Test List/hello.txt</string>
</DestinationUrls>
<Fields>
<FieldInformation Type="Text" DisplayName="Test Column2" InternalName="Test_x0020_Column20" Id="{8c35c0ca-d578-47fd-b7f3-aed199141c86}" Value="Value 0" />
<FieldInformation Type="Text" DisplayName="Test Column3" InternalName="Test_x0020_Column30" Id="{6c0d3fe3-4f0d-4cff-997b-201747f83315}" Value="Value 1" />
</Fields>
<Stream>WW91IHNheSBoZWxsbywgSSBzYXkgZ29vZGJ5ZQ==
</Stream>
</CopyIntoItems>
</soap:Body>
</soap:Envelope>
The URL I am invoking this on is: http://shpt.ad2010.local:35492/sites/targetsubsite/_vti_bin/Copy.asmx
The response I get back is as follows:
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<CopyIntoItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<CopyIntoItemsResult>
0
</CopyIntoItemsResult>
<Results>
<CopyResult DestinationUrl="http://shpt.ad2010.local:35492/sites/targetsubsite/Test List/hello.txt" ErrorCode="DestinationInvalid" ErrorMessage="The Copy web service method must be called on the same domain that contains the destination url."/>
</Results>
</CopyIntoItemsResponse>
</soap:Body>
</soap:Envelope>
I am unable to find any help on the error mentioned here. I have tried setting the source URL to something valid (I have to make it up because there really is no source URL as I copy from the remote client).
I wonder if I can even use the CopyIntoItems request (or the Copy web-service as a whole) from a remote soap client, and whether it was only meant to be used for copies between SharePoint Sites. Any clues are much appreciated.I am trying to use the copy.asmx service to upload a file from a custom sharepoint form into a document library, and I can only use javascript with jquery. (no visual studio)
I have a similar soap envelope.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<CopyIntoItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<SourceUrl>C://dir/file.txt</SourceUrl>
<DestinationUrls>
<string>http://[server]/sites/subsite/Demo List/sample.txt</string>
</DestinationUrls>
<Fields>
<FieldInformation Type="Text" DisplayName="Title" InternalName="Title" Id="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Value="Test Value" />
</Fields>
<Stream>base64Binary</Stream>
</CopyIntoItems>
</soap:Body>
</soap:Envelope>
I'm getting a 500 "internal server error" back.
Can anyone see what I'm doing wrong ?
Kris Blair -
while i am trying to test my webservice in soap client it throws
error
Failed to parse soap message
Original(raw) message:
com.sap.uddi.generic.impl.soap.NativeSOAPException : Failed to open socket
Cause : class java.net.ConnectException : Connection refused: connect
can anyone help me outHI Ajay,
Same kind of problem is discussed here... Please check..
SOAP Request
Target URL for SOAP client
Re: Error in Webservice call
Cheers..
Vasu
<i>** REward Points if found useful **</i> -
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 -
Hi experts,
I need to create a SOAP client in ABAP for a web service that uses MTOM (xop:include) to transfer binary files.
I know how to create a client proxy in SE80 from WSDL, but I.have no idea how to send attachments with protocol MTOM.
Does anybody know how to do this in ABAP?
Thanks a lot!
LUIS B.Hi there.
Well, I couldn't get the ABAP Proxy working so I build the SOAP client from scratch using class CL_HTTP_CLIENT. It was harder because I had to take care of every aspect in the HTTP communication but in the end it was more flexible.
I hope this helps. -
I want to test sender ABAP proxy in AAE by SOAP client
To PI Specialists
Now I plan to test sender ABAP proxy in AAE by SOAP client system.
(we use aae so we set sender abap proxy by sender soap adapter.)
ABAP creating team and PI creating team are in other site.We cant contact easily.
I want to separate ABAP Unit test and PI Unit test, plan to use soap client for test driver.
(we use SOAPUI. )
the url is http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=party:service:channel
I noticed that sender soap adapter is started, but the messeage protocol is invalid.
we use messege of wsdl. it must be XI3.0 protocol.
Please tell me XI3.0 protocol.
NaokiThis is possible to do in SOAPUI. I am testing this scenario using AAE, but I am also using SOAP UI Pro. The procedure is pretty basic. Instead of sending your payload in as part of the body, you have to send it in as an attachment. You will also need to set the header correctly. Here is a sample message from my SOAP UI tests that may help. The only thing you need to do differently is load the attachment, name it, and make sure that the name of the attachment is reflected in the SAP:Payload attribute. Also, I am using a Groovy script to create a GUID.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
<soapenv:Header>
<SAP:Main versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92FFF13F5C59777FE1ABE00000A1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
<SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
<SAP:MessageId>${Create GUID#result}</SAP:MessageId>
<SAP:TimeSent>${=new java.text.SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'").format(new Date())}</SAP:TimeSent>
<SAP:Sender>
<SAP:Service>SVCNM</SAP:Service>
</SAP:Sender>
<SAP:Interface namespace="Interface_Namehttp://namespace.com">Interface_Name</SAP:Interface>
</SAP:Main>
<SAP:ReliableMessaging SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:QualityOfService>ExactlyOnce</SAP:QualityOfService>
</SAP:ReliableMessaging>
<SAP:System SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Record namespace="http://www.sap.com/webas/712/soap/features/runtime/metering/" name="CallingType">SA</SAP:Record>
</SAP:System>
<SAP:Diagnostic SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:TraceLevel>Information</SAP:TraceLevel>
<SAP:Logging>Off</SAP:Logging>
</SAP:Diagnostic>
<SAP:HopList SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Hop timeStamp="${=new java.text.SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'").format(new Date())}" wasRead="false">
<SAP:Engine type="BS">SVCNM</SAP:Engine>
<SAP:Adapter namespace="XIhttp://sap.com/xi/XI/System">XI</SAP:Adapter>
<SAP:MessageId>${Create GUID#result}</SAP:MessageId>
<SAP:Info>3.0</SAP:Info>
</SAP:Hop>
</SAP:HopList>
</soapenv:Header>
<soapenv:Body>
<SAP:Manifest wsu:Id="wsuid-main-92FFF13F5C59777FE1ABE00000A1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<SAP:Payload xlink:href="cid:TestPayload.xml">
<SAP:Name>MainDocument</SAP:Name>
<SAP:Description/>
<SAP:Type>Application</SAP:Type>
</SAP:Payload>
</SAP:Manifest>
</soapenv:Body>
</soapenv:Envelope>
Here is a picture of my SOAP UI project in case it help the understanding. -
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.
Maybe you are looking for
-
Multiple accounts on one computer - one or multiple licenses?
I have one simple question about the limitations of the Adobe Muse (and other) product. I do understand that I can install it on two computers and use both but not at the same time. Fine. However, On one of my machines I have different accounts for d
-
Documentation on How to Develop an OPC Client Using LabWindows/CVI?
What documentation is there on how to develop an OPC client application using LabWindows/CVI? What tutorials, if any, are there? What reference manuals, if any are there? I am completely new to LabWindows/CVI. I will be starting soon with the tuto
-
Servlets and EJBs in weblogic 5.1
Me somebody can say like communicating servlet that this in a machine with Weblogic 5,1 with a EJB in another machine also with weblogic5.1 When trying gives it to me Comunication Exception . But if I have the 2 in the s
-
Pavilion dv4 3138tx drivers after reinstallation of plain windows 7 home premium
My Pavilion DV4 3138tx notebook recovery disk was crashed, and HP did not give recovery disk when it was purchased. I have to download the windows 7 home premium edition from "mydigitallife.info" website to download the legalized windows 7 reinstalla
-
Hi, guys, great to be here. I am proud owner of Nokia E61 smartphone and I am absolutely delighted with it, I reccommend it to everyone. I have only one issue: I just can't find the way to sync it with Nokia 6600. I would like to sync contacts and ca