Web Service wits WS-RM fails
Hi,
We have a web service that is called from a third-party and fills data in a table in an ECC system. The web service is configured via SOA manager. It is an asynchronous service. Till a couple of weeks ago it was working fine. But the last weeks we got the following error:
WSRM: Consumer sent message for operation of type "asycnhron reliable " without WS-RM sequence header / Sequence.
In the WSDL I can see that reliable messaging is active but that was also when it was working fine. Nothing has changed in the configuration of the web service. It looks like the error happened after Support Package Basis SP 08. It is an SAP ECC 6.0 systeem on Netweaver 7.01.
Can it have anything to do with the latest Support Package? Is it possible that reliable messaging was not active althoug the value in the WSDL has the value "True" for reliable messaging? Does anyone have any suggestions or is the problem caused by the third-party?
Kind regards
Maarten
Hi Maarten,
Consumer sent message for operation of type "asycnhron reliable " without WS-RM sequence header / Sequence.
Have you done a comparison between messages sent from Consumer before and after the problems occurred?
Because to me this seems to be the issue. The message seems to be missing the WS-RM sequence header.
If the messages are composed the same way before and after the problems occurred than it can be that your upgrade has changed something.
Unfortunately i cannot help you a lot further on that.
Kr
Robert
Similar Messages
-
Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR
Problem Description:
I'm following the steps as per the doc:
http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
The code from oracle form to call web service is as below:
DECLARE
jo ora_java.jobject;
rv ora_java.jobject;
ex ora_java.jobject;
outString varchar2(2000);
BEGIN
jo:= CurrencyConvertorStub.new;
--This will get the exchange rate from US Dollars to UK Sterling.
rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
message (float_.floatValue(RV));
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
outString := Exception_.toString(ex);
message(outString);
END;
Any help/ideas on this is greatly appreciated. Thanks.Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
URL endpointURL = new URL(endpoint);
Envelope requestEnv = new Envelope();
Body requestBody = new Body();
Vector requestBodyEntries = new Vector();
String wrappingName = "ConversionRate";
String targetNamespace = "http://www.webserviceX.NET/";
Vector requestData = new Vector();
requestData.add(new Object[] {"FromCurrency", FromCurrency});
requestData.add(new Object[] {"ToCurrency", ToCurrency});
requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
requestBody.setBodyEntries(requestBodyEntries);
requestEnv.setBody(requestBody);
Message msg = new Message();
msg.setSOAPTransport(m_httpConnection);
msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
Envelope responseEnv = msg.receiveEnvelope();
Body responseBody = responseEnv.getBody();
Vector responseData = responseBody.getBodyEntries();
return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
} -
Web services Connection_Operations.Logon call fails on Data Services 4.0
Hello,
We recently installed Data Services 4.0. We have a custom Java app which makes use of the web services interface. We had previously used Axis to generate the java class. With DS 4, it looks like the Logon method did change as it now requires the cms system and authentication. We manually updated the java classes to includes these, which has been our general approach in the past for newer releases. However DS 4 uses Axis2 and I'm not sure that this approach would work.
My problem is that the "Logon" call fails with very little details.
In viewing both the webadmin.log and WebService.log it only reports the following:
11/02/2011 18:42:17 [ SEVERE ] Logon failed. Error: null
I understand that I can control the logging detail . The Integrator Guide for DS 4.0, has the following instruction, yet there is no log4j.properties file on my system?
"To control the level of detail in the webadmin.log file, you must edit the log4j.properties file.
The properties file is located in:
LINK_DIR\ext\webserver\webapps\acta_web_admin\WEB-INF
To obtain a debug trace of events, change the log level from the default of INFO to DEBUG. For example,
log4j.rootLogger=DEBUG, A"
Any advise would be greatly appreciated
ThanksHello,
Unfortunately, stdout.log below doesn't show anything possibly due to some mis-configuaration of log4j.properties. In my previous post I requested info on which log4j.properties should be modified as the documentation in the DS 4.0 Integrator's guide mentions a none-existent path?
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
log4j:WARN Please initialize the log4j system properly.
com.businessobjects.webpath.rebean3ws.Activator
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
null -
Invoking Imaging Web Service from BPEL is failing
Hi,
My Env is on latest 11g 11.1.1.8.
I am trying to invoke the Imaging Web Services (http://host:port/imaging/ws/ApplicationService?wsdl)deployed in another Weblogic Server from Bpel. When I tried to invoke this web service with out security credentials it was failing due to access issue.
I tried invoking the imaging web service by following below steps.
Added oracle/wss_http_token_client_policy for Imaging Web service Reference.
Added these properties in Composite for the reference binding as below.
<wsp:PolicyReference URI="oracle/wss_http_token_client_policy"
orawsp:category="security" orawsp:status="enabled"/>
<property name="weblogic.wsee.wsat.transaction.flowOption"
type="xs:string" many="false">SUPPORTS</property>
<property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
many="false">DEFAULT</property>
<property name="oracle.webservices.auth.username" type="xs:string"
many="false" override="may">weblogicxz</property>
<property name="oracle.webservices.auth.password" type="xs:string"
many="false" override="may">welcome111</property>
<property name="httpBasicUsername">weblogicxz</property>
<property name="httpBasicPassword">welcome111</property>
But now While testing my Bpel Flow my reference is failing with below erro. Can you please help me resolving this issue.
<messages>
<input>
<Invoke1_getApplication_InputVariable>
<part name="parameters">
<getApplication>
<appNameId>
<id>2</id>
<name>CaptureImageApplication</name>
</appNameId>
<sectionFlags/>
</getApplication>
</part>
</Invoke1_getApplication_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</summary>
</part>
<part name="detail">
<detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</detail>
</part>
<part name="code">
<code>{http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand</code>
</part>
</remoteFault>
</bpelFault>Hi,
I don't think it is failing due to access issue, I think it is failing because one of the parts is NOT configured to use WS-AT (WS-Atomic Transactions)...
MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood
Why did you add this?
<property name="weblogic.wsee.wsat.transaction.flowOption"
type="xs:string" many="false">SUPPORTS</property>
<property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
many="false">DEFAULT</property>
Cheers,
Vlad -
Web Service Homepage: Authority check failed
Dear Colleagues,
I have created a Web Service and now I want to test it via its Web Service Homepage (TA WSADMIN). The Homepage is displayed correctly, but testing leads to an error:
Authority check failed
Are there any prerequisites I maybe do not accomplish?
(I tested a very similar web service in another system, and there it works)
Here are some more information about my service:
- Service was build with Web Service Wizzard out of a function module
- Here you can see the conversation resulting of the test:
POST /sap/bc/srt/rfc/sap/Z_TEST_Q73_CONFIG_WS?sap-client=003 HTTP/1.1
Host: bsl8011.wdf.sap.corp:50073
Content-Type: text/xml; charset=UTF-8
Connection: close
Cookie: <value is hidden>
Cookie: <value is hidden>
Authorization: <value is hidden>
Content-Length: 381
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:Z_TEST_WS_CONFIG xmlns:ns1='urn:sap-com:document:sap:rfc:functions'>
<INPUT>TEST</INPUT>
</ns1:Z_TEST_WS_CONFIG>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
content-type: text/xml; charset=utf-8
content-length: 363
sap-srt_id: 20060404/125124/v1.00_final_6.40/1B0831447838C429E10000000A424016
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<soap-env:Fault>
<faultcode xmlns:n0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">n0:FailedAuthentication</faultcode>
<faultstring xml:lang="e">Authority check failed</faultstring>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
The WSDL-Document looks as follows:
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified"><xsd:simpleType name="char60"><xsd:restriction base="xsd:string"><xsd:maxLength value="60"/></xsd:restriction></xsd:simpleType><xsd:element name="Z_TEST_WS_CONFIG"><xsd:complexType><xsd:sequence><xsd:element name="INPUT" minOccurs="0" type="tns:char60"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="Z_TEST_WS_CONFIGResponse"><xsd:complexType><xsd:sequence><xsd:element name="OUTPUT" type="tns:char60"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name="Z_TEST_WS_CONFIG"><wsdl:part name="parameters" element="tns:Z_TEST_WS_CONFIG"/></wsdl:message><wsdl:message name="Z_TEST_WS_CONFIGResponse"><wsdl:part name="parameters" element="tns:Z_TEST_WS_CONFIGResponse"/></wsdl:message><wsdl:portType name="Z_TEST_Q73_CONFIG_WS"><wsdl:operation name="Z_TEST_WS_CONFIG"><wsdl:input message="tns:Z_TEST_WS_CONFIG"/><wsdl:output message="tns:Z_TEST_WS_CONFIGResponse"/></wsdl:operation></wsdl:portType><wsdl:binding name="Z_TEST_Q73_CONFIG_WSSoapBinding" type="tns:Z_TEST_Q73_CONFIG_WS"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="Z_TEST_WS_CONFIG"><soap:operation soapAction=""/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="Z_TEST_Q73_CONFIG_WSService"><wsdl:port name="Z_TEST_Q73_CONFIG_WSSoapBinding" binding="tns:Z_TEST_Q73_CONFIG_WSSoapBinding"><soap:address location="http://bsl8011.wdf.sap.corp:50073/sap/bc/srt/rfc/sap/Z_TEST_Q73_CONFIG_WS?sap-client=003"/></wsdl:port></wsdl:service></wsdl:definitions>
Can anyone help me, I have no Idea
Message was edited by: Hans-Peter BauerThe message server defined in the SAP-Logon is us4278.wdf.sap.corp
But the url of the web service starts with http://us4185:58500/wsnavigator/jsps/explorer.jsp?description=WebServiceZ_TEST_Q73_CONFIG_WS
But I think that's not the problem, is it? As I mentioned above the test page can be shown, but the after filling in the input parameters an pressing send, there appears the authorisation error.
For better illustration I made some screenshots for you:
1) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_OVERVIEW.gif
2) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_TEST_INPUT_FORM.gif
3) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_TEST_reqest_response.gif
What can be wrong, if the error "n0:FailedAuthentication" appears?
Regards,
Peter
Message was edited by: Hans-Peter Bauer -
Web Service Call with XI fails at SOAP Adapter
Hi,
I am currently trying to call a web service that is located in the Internet via XI using the SOAP Receiver Adapter. In the ABAP Monitoring (SXMB_MONI) the call is successfull. But when I check the Message Monitoring in the Runtime Workench I see the message failed in the SOAP Adapter. It stays in status 'wait' for some time and the shows a system error. I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
Any ideas why the message fails in the SOAP Adapter? What are the steps to find the root cause?
Thanks and regards.Hi,
>>>I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
but does XI have access to internet?
as you used SOAP Test Tool from your computer and not from XI machine
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Rerun Web Service Task whenever it fails
Hi All,
In one of my package i m using web service task and it is failing everytime. Below is the error:
An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: The operation has timed out.
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
I referred the below blog and tried to implement it in my project.
http://microsoft-ssis.blogspot.com/2014/06/retry-task-on-failure.html
In For Loop Container, when i am using the below expression , the container is running but web service task is not running.
EvalExpression - @RetryCounter<=@RetryMax && @QuitForLoop==false
but when i change the expression to
@RetryCounter<5, the web service task is also running.
where i am going wrong. are we not supposed to use expression like @RetryCounter<=@RetryMax && @QuitForLoop==false in For Loop Container.Read the comments below, you need to reset the QuitForLoop, perhaps this is the issue.
I would approach the issue with Checkpoints, and restart on failure as in
https://www.simple-talk.com/sql/sql-tools/implementing-checkpoints-in-an-ssis-package/ or
https://sqlserverrider.wordpress.com/2011/09/24/rerun-ssis-package-with-checkpoints/
Arthur
MyBlog
Twitter -
Web service proxy client generation fails
Hello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
TomHello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
Tom -
Urgent: Calling web service from PL/SQl fails with XML parsing
Hi,
I am trying to call a web service from PL/SQL (using SOAP protocol and UTL_HTTP built in Package).I am using Oracle 9i .I am calling from pl/sql block invoking web service method created in java.
I am getting the below response object as a SOAP protocol, but i couldn't able to parse the SOAP.
Could you please provide the values of FirstName, LastName and ErrorDescription
declare
request_env varchar2(32767);
v_xml XMLTYPE;
l_user_first_name varchar2(100);
l_user_last_name varchar2(100);
l_error_value varchar2(100);
begin
response_env:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<UserInfoObjResponse xmlns:axis2ns1="http://www.test.com/services">
<axis2ns1:FirstName >First Name Output</axis2ns1:FirstName>
<axis2ns1:LastName>Last Name Output</axis2ns1:LastName>
<axis2ns1:ErrorDescription />
</UserInfoObjResponse>
</soapenv:Body>
</soapenv:Envelope>';
dbms_output.put_line('Length of Request:' || length(response_env));
dbms_output.put_line ('Request: ' || response_env);
v_xml := XMLTYPE(response_env);
-- SELECT EXTRACTVALUE(v_xml, '//UserInfoObjResponse/FirstName') INTO l_user_fast_name varchar2(100); FROM DUAL;
dbms_output.put_line ('l_user_first_name: ' || l_user_first_name);
dbms_output.put_line ('l_user_last_name : ' || l_user_last_name);
dbms_output.put_line ('l_error_value: ' || l_error_value);
end;In Oracle 9i:
SQL> declare
2 response_env varchar2(32767);
3 v_xml XMLTYPE;
4 l_user_first_name varchar2(100);
5 l_user_last_name varchar2(100);
6 l_error_value varchar2(100);
7 begin
8 response_env:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
9 <soapenv:Body>
10 <UserInfoObjResponse xmlns:axis2ns1="http://www.test.com/services">
11 <axis2ns1:FirstName >First Name Output</axis2ns1:FirstName>
12 <axis2ns1:LastName>Last Name Output</axis2ns1:LastName>
13 <axis2ns1:ErrorDescription />
14 </UserInfoObjResponse>
15 </soapenv:Body>
16 </soapenv:Envelope>';
17
18 dbms_output.put_line('Length of Request:' || length(response_env));
19 -- dbms_output.put_line ('Request: ' || response_env);
20
21 v_xml := XMLTYPE(response_env);
22
23 select EXTRACTVALUE(v_xml,'/*:Envelope/*:Body/*:UserInfoObjResponse/*:FirstName/text()') first_name,
24 EXTRACTVALUE(v_xml,'/*:Envelope/*:Body/*:UserInfoObjResponse/*:LastName/text()') last_name,
25 EXTRACTVALUE(v_xml,'/*:Envelope/*:Body/*:UserInfoObjResponse/*:ErrorDescription/text()') error_description
26 into l_user_first_name, l_user_last_name, l_error_value
27 from dual;
28
29 dbms_output.put_line ('l_user_first_name: ' || l_user_first_name);
30 dbms_output.put_line ('l_user_last_name : ' || l_user_last_name);
31 dbms_output.put_line ('l_error_value: ' || l_error_value);
32 end;
33 /
Length of Request:530
l_user_first_name: First Name Output
l_user_last_name : Last Name Output
l_error_value:
PL/SQL procedure successfully completed.In Oracle 10g:
SQL> declare
2 response_env varchar2(32767);
3 v_xml XMLTYPE;
4 l_user_first_name varchar2(100);
5 l_user_last_name varchar2(100);
6 l_error_value varchar2(100);
7 begin
8 response_env:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
9 <soapenv:Body>
10 <UserInfoObjResponse xmlns:axis2ns1="http://www.test.com/services">
11 <axis2ns1:FirstName >First Name Output</axis2ns1:FirstName>
12 <axis2ns1:LastName>Last Name Output</axis2ns1:LastName>
13 <axis2ns1:ErrorDescription />
14 </UserInfoObjResponse>
15 </soapenv:Body>
16 </soapenv:Envelope>';
17
18 dbms_output.put_line('Length of Request:' || length(response_env));
19 -- dbms_output.put_line ('Request: ' || response_env);
20
21 v_xml := XMLTYPE(response_env);
22
23 select r.*
24 into l_user_first_name, l_user_last_name, l_error_value
25 from XMLTABLE('/' PASSING v_xml
26 COLUMNS
27 first_name varchar2(30) PATH '/*:Envelope/*:Body/*:UserInfoObjResponse/*:FirstName/text()',
28 last_name varchar2(30) PATH '/*:Envelope/*:Body/*:UserInfoObjResponse/*:LastName/text()',
29 error_description varchar2(30) PATH '/*:Envelope/*:Body/*:UserInfoObjResponse/*:ErrorDescrition/text()'
30 ) r;
31
32 dbms_output.put_line ('l_user_first_name: ' || l_user_first_name);
33 dbms_output.put_line ('l_user_last_name : ' || l_user_last_name);
34 dbms_output.put_line ('l_error_value: ' || l_error_value);
35 end;
36 /
Length of Request:530
l_user_first_name: First Name Output
l_user_last_name : Last Name Output
l_error_value:
PL/SQL procedure successfully completed.Max
http://oracleitalia.wordpress.com
Edited by: Massimo Ruocchio on Feb 14, 2010 11:55 PM
Added the first one. -
Web service proxy generation validation failed - two declarations collision
Hi,
I'm creating a JAX-WS web service proxy against a web service with very complex payload. When I point the wizard to the WSDL, during the analysis, it throws an error,
Error creating model from wsdl "<mywsdl>": (Related to above error) This is the other declaration. Two declarations cause a collision in the ObjectFactory class.
Any pointers? How can I troubleshoot such error?found the fix discussed on this blog... http://kingsfleet.blogspot.com/2008/07/working-round-xsdchoice-binding-issue.html
-
SPML Web Service in 11g (XSD): fail to get the psoID
Hello.
Has anybody successfully used the default XSD version of the SPML web service in 11g? I was able to successfully invoke the Add User operation but I'm not seeing the psoID (this is the unique ID generated by OIM for the user) for the newly added user... The Oracle docs for 11g do not show how that is returned... I would think that in would be in the response but I do not see it there... Someone suggested using Search User to get the psoID but I do not see a Search operation in the WSDL for 11g...
I'm starting to think that the XSD version of the SPML in 11g is maybe incomplete? When I get chance, I may deploy the DSML version of the web service, and then run the Sample HTTP Client to see if that works better. I understand that this DSML version is what was used in 10g, and may be more robust.
Thoughts anybody?Sunny,
As you have pointed out, API will work.
But regarding your statement:
"Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
"SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
Did you tweak something to get it working?
Thanks. -
Importing test data into "Web Service Navigator Test Scenario" fails
Hello,
I'm using NW 7.2 Java and have the following problem: when I try to import a XML file containing test data as scenario in the web service navigator and when I execute the scenario or just click on the details of on entry, all input parameters are gone except the first one!
The XML file was created by the web service navigator itself. I added a few sample web service calls using the web service test function and exported the resulting scenario afterwards. The XML file looks like this (some parameters blackened):
<?xml version="1.0" encoding="UTF-8"?>
<rn1:services WSILURL='' xmlns:rn0='java:sap/standard' xmlns:rn1='http://www.sap.com/webas/2007/02/ws/wsnavigator/' xmlns:rn3='http://schemas.xmlsoap.org/soap/encoding/' xmlns:rn2='http://www.w3.org/2001/XMLSchema'>
<rn1:service name='OrderService' namespace='http://test.sap.com/Scenario/OrderService/' WSDLURL='host:port/sapws/scenario-processes-models_OrderService/OrderService_SAP_DEFAULT_PROFILE_Service/HTTPAuthOverHTTP_1?wsdl&mode=ws_policy'>
<rn1:operation name='receiveOrder'>
<rn1:input>
<Customer>Customer1</Customer>
<Product>Product1</Product>
<Quantity>100</Quantity>
<DeliveryDate>2010-08-19T14:06:24.691+02:00</DeliveryDate>
<BlockedOrder>false</BlockedOrder>
</rn1:input>
<rn1:output></rn1:output>
</rn1:operation>
<rn1:operation name='receiveOrder'>
<rn1:input>
<Customer>Customer2</Customer>
<Product>Product2</Product>
<Quantity>200</Quantity>
<DeliveryDate>2010-08-19T14:06:24.691+02:00</DeliveryDate>
<BlockedOrder>false</BlockedOrder>
</rn1:input>
<rn1:output></rn1:output>
</rn1:operation>
</rn1:service>
</rn1:services>
Thanks in advance for any comments on that issue!!!Hi
Hi,
You can use XML editors like XMLSPY to send the SOAP request or SOAP client tool provided by SAP for this purpose.
SOAP client- https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/downloads/tools/sap%20nw%20application%20server/sap%20soap%20client%20tool%20download.abst
Various methods to Testing SOAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ccd3e4e-0501-0010-95ae-afa58cb46b75
http://www.soapui.org/gettingstarted/your_first_soapUI_project.html
Hope it helps,
Regards,
Abhishek -
Authorization error while testing Web Service in SOAP UI
Hello All,
when i am trying to test my web service in SOAP UI i am getting following error.
<faultstring xml:lang="e">Authority check failed</faultstring>
</soap-env:Fault>
I am providing user id and password of my server also. we are using ECC 6.0 server. please let me know what needs to be checked.
Kumar.Hi Kumar
Check with this thread for Authority check failed
Web Service Homepage: Authority check failed
Regards
Abhishek -
Error when generating Web Services Proxy for SCA Application Module
Hello,
I'm trying to create Web Services for a simple Application Module with JDeveloper 11g (11.1.1.3.0).
I start a new ADF Project, I create an Application Module as simple as possible : it contains only a simple View Object on the DEPT Entity.
On my Application Module, I choose "Service Interface" and I add my View Object in the service interface.
I test my Web Service in the Embedded Weblogic Server, it works well. (I succeed in using the Get operation, for example).
But when I try to generate a Web Service proxy (right-click on the WSDL File -> Generate Web Service Proxy), It always fail with such errors :
oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/ApplicationAppelServiceSCA/Model/src/model/common/AppModuleService.wsdl": 'unset' is already defined'Bytes' is already defined'ref' is already defined'Duration' is already defined'Types' is already defined'Character' is already defined'type' is already defined'Day' is already defined'nestedInterfaces' is already defined'Date' is already defined'datagraph' is already defined'Type' is already defined'Integer' is already defined'ModelsType' is already defined'ChangeSummaryType' is already defined'instanceClass' is already defined'Month' is already defined'DataObject' is already defined'javaClass' is already defined'LongObject' is already defined'DateTime' is already defined'dataObject' is already defined'YearMonth' is already defined'ShortObject' is already defined'Long' is already defined'types' is already defined'JavaInfo' is already defined'IntObject' is already defined'Boolean' is already defined'DoubleObject' is already defi...
Can someone help me to understand this error ?
i never manually edited the WSDL File, so I don't understand why the generated WSDL or XSD files might contain errors.
Thanks for your Help,
LaurentWe have the same problem, and the problem was in the xsd import:
The wdsl import a schema that import other schema, the second import use a relative path, that was wrong.
So check the xsd import sequence.... -
I am trying to use XCelsius 2008 to connect to SAP Webservices using Webservice Connector.
I provided the WSDL URL and tried to Import. But got an error Unable to load URL.
I am very new to Xcelsius and it seems like the SAP web service basic authentication is failing. Is there any way to hard code the username and password so that it will work?
Or am i missing something important here? Any help would be appreciated.
My email id is [email protected]
Thanks,
Anil.Hello
SAP Webservice refers to the develop of a WebService in Netweaver you can use ABAP or Java to do it.
This link will be helpful
[SAP Web Services - Definition and Tutorials/Weblogs|SAP Web Services - Definition and Tutorials/Weblogs]
Maybe you are looking for
-
Nº de caracteres para item em NF de exportação entrada.
Após a aplicação do SP12 NFs migradas via Softway "trancam" na entrada pois os caracteres configurados para os itens são enviados com 2 dígitos e o SAP esta convertendo para 1 dígitos e não reconhece o campo com os 2 dígitos. Alguém passou por este p
-
Adobe Illustrator crashes immediatly on startup
I recently had problems with my Illustrator CC crashing shortly after opening. Forum staff helped me fix this issue, it was due to a problem with my Wacom Bamboo drivers. Here is the link:http://forums.adobe.com/message/6047643#6047643 However a week
-
Ledger report of vendor/customer
Dear Sap Gurus, Greetings!!! I have a requirement where client requirement is as follows: Invoce Date Payment/ Clearing Ref. No. Debit Credit Balance He want this report for the both FBL!N and FBL5N. In the above report he want the vendor Opening Bal
-
Here's the code I used: <pre><nowiki><p class="bodytext"><OBJECT id='mediaPlayer' width="320" height="240" class="imageright" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/ mplayer/en/nsm
-
HT201272 How do I redownload a purchased song to my iTunes on my computer
I recently purchased Mya Fallen EP. There are four (4) tracks on this EP. The last track plays about 2:29 then it just stops. The track is 4:05. How do I redownload the track? Or is their something wrong with file on your end?