Error in namespace on web service response
How does the namespace value get set in the exchangeDataResponse element in the SOAP response below? It's wrong and it's causing the error shown.
When I look at the SOAP message weblogic is sending back I see
<!--RESPONSE.................-->
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Header>
</env:Header>
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:exchangeDataResponse xmlns:m="http://partners.mcdata.com">
<result xsi:type="xsd:string"><exchangeDataResult>
<status>ERROR</status>
<message>XML failed validation:cvc-elt.1: Cannot find the declaration of element 'shippingResponse'. Column: 252 Line: 1</message>
</exchangeDataResult></result>
</m:exchangeDataResponse>
</env:Body>
</env:Envelope>
notice the namespace setting on the m:exchangeDataResponse element is http not https. Now look at this error message:
[java] java.rmi.RemoteException: Runtime exception; nested exception is:
[java] unexpected element name: expected={https://partners.mcdata.com/}exchangeDataResponse, actual={http://partners.mcdata.com}exchangeDataResponse
[java] at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(Ljava.lang.RuntimeException;)V(StreamingSender.java:248)
[java] at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:230)
[java] at com.mcdata.websvc.riverbed.server.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:70)
[java] at jsp_compiled.__index._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__index.java:134)
[java] at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
[java] at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
The namespaces don't match, but I can't find anything in the code that is setting the namespace value for the response I'm sending you.
Peggy,
At what stage you get this error in ERM role usage sync job? This job operates as below -
1) based on Sync date provided it fetches roles assigned to all the users changed in given period from backend.
2) It then gets the tcode usage for users from RAR virsaccactionusage service
3) It fetches tcodes in a role and then calculates the usage information per role for each user.
Can you check and provide the job history? Also check if there is any dump on the backend system against which role usage sync is done. You can also verify if there is any error in RAR Logs.
What support pack level are you at?
I remember getting similar error a while back. Not able to recollect exact fix, but above information should provide some hint.
With SP06 onwards ERM parameter "noOfUsersForUAR" is used to control user batch size for doing ERM role usage sync. Having a larger value for this parameter can sometime cause issues. You can check value for this parameter in vt_gbl_ermconfig table.
Regards,
Amol
Similar Messages
-
JCAPS mixes up namespaces on Web Service response
**edited**
The issue was resolved.
Mapping top level nodes instead of leafnodes can result in caps responding with different namespaces. We have opened a support case on this.
Message was edited by:
maparicio
Message was edited by:
maparicioWas there a solution or Work Ticket logged for it?
**edited**
The issue was resolved.
Mapping top level nodes instead of leafnodes can
result in caps responding with different namespaces.
We have opened a support case on this.
Message was edited by:
maparicio
was edited by:
maparicio -
Retrieve error message of SAP provided web service in web service response
Hi All,
We have a SAP provided web service that sometimes fails to process data it is called with. This is not a problem as the data sometimes is just plain wrong (i.e. date field contains text). However, the error is only logged in SAP and can only be queried using SRT_UTIL.
The problem is that the error is not reported back via the response. How can we set up the web service so that the error could be displayed by the calling party without logging into SAP?
Thanks for the help in advance.
Best Regards,
DanielHi Calvin,
The WS is indeed synchronous. The problem is not whether the error is captured or not. It is captured indeed but it is logged inside SAP only and not returned via the Web Service response mechanism. The error message says that error message can be retrieved using SRT_UTIL.
This is a major problem as the users of the outside system calling SAP have no right to use SRT_UTIL to track down the error. They need to contact SAP basis in order to get to the end of it.
What we need to achieve is to get back the same error message that can be seen with SRT_UTIL via the web service.
Thanks. -
How to use a Web Service Response
In the snps_users documentation it seems to be really easy but in fact...
After invoking my web service I retrieve a XML file which is my response then we would like to use it.
As written in the documentation I Export Response in XSD file, I create my XML Model but How to reverse the XSD ???
There's 4 references to XSD into all the snps_users documentation but no one talking about.
Moreover it's written See Creating and Reverse-Engineering a
Model for an XML file for more information and that's what I'm doing but no way...
So without the XSD I m trying to use the Response file like an XML file but I always have an error which looks like :
java.sql.SQLException: No root found in the DTD file
The Web Service Response XML File use NameSpace could the problem come from here ???
If someone ever use it ...
Thanks in advance.
BMWhen I specify the XSD It raises another error,
my URL is :
jdbc:snps:xml?f=C:/Temp/File.xml&d=C:/Temp/File.xsd&s=REPON&nspg=xml
Error message:
java.sql.SQLException: A SAXException was caught while reading the model saying [Element value has no type]
The XSD and the XML are generated by ODI after invoking a Web Service...
Any idea ??? -
Error in calling External web service from soa suite 11.1.1.3
Hi
I am getting following error while calling external web service......
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <SOA-20136> <WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException>
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <BEA-000000> < Payload after BaseActionHander.requestMessage :{parameters=oracle.xml.parser.v2.XMLElement@bd2382}>
####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866063> <BEA-000000> < Properties after BaseActionHander.requestMessage :{ReferenceInstance=[email protected]63ea5,
####<Jan 20, 2011 6:54:29 PM IST> <Error> <oracle.webservices.service> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529869375> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.fabric.common.FabricInvocationException.>
I am able to hit external ws from soap ui and getting response but while calling from soa suite getting this error.
Any clues?
Thanks
VibhorWS Binding: exception durign SOAP invocation: java.util.NoSuchElementException
Looks like the error is in the data sent to or expected from the service in your composite. Check that audit logs and composite flow to make sure your soap message when using soapui matches what you are working with in soa suite. -
Receiving the internal 500 error while testing java web service
HI,
Problem Summary:
Receiving the internal 500 error while testing java web service in integrated weblogic server.
my scenario is like,
retrieve the Payload from Dehydration tables.
We are connected to SOA_INFRA schema and we are retrieving the payload from the dehyadration tables based on InstanceId and ECID using Java Classes.After that i make it as a web service and i deployed in to intergrated weblogic Server.It is generating the Target End Point URI.When am i hitting this it is showing structure of the service.I am testing this service from soapUi it is returning the Server internal error with 500.Here i am passing inputs as InstanceId and ECID.
I had verified in my Jdeveloper,Proxy settings are available.
Error Payload:
I am receiving the Internal 500 error because of JDeveloper HTTP Analyzer encountered an error retrieving: CONNECT https://192.168.0.41:9102 HTTP/1.0.
An exception occurred while retrieving the response for https://192.168.0.41:9102.
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1293)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
at oracle.jdevimpl.webservices.tcpmonitor.model.HttpMessageBase.readLine(HttpMessageBase.java:658)
at oracle.jdevimpl.webservices.tcpmonitor.model.HttpRequest.read(HttpRequest.java:327)
at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.getResponse(ConnectionHandler.java:405)
at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:331)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1916)
at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateSSL(ConnectionHandler.java:707)
at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateForwardedSSLConnection(ConnectionHandler.java:672)
at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:311An exception occurred while retrieving the response for https://192.168.0.41:9102.
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?This error says that port 9102 is a plain HTTP port so either use the correct port (which is listening for HTTPS connections) or use HTTP instead of HTTPS in the URL.
Regards,
Anuj -
Web service response processing inside a BPM
Hi Experts,
Please can you let me know if it is possible to achieve the following inside a BPM:
u2022 Once you getting the web service SOAP response, determine if itu2019s a SOAP fault or a normal web service response.
u2022 If itu2019s a SOAP fault, create a retry loop with a wait step inside the BPM to try and retry the process (perhaps 5 times in 1 minute intervals).
u2022 After the retry intervals, if the message is still in a failed step, force the BPM to go into an error state
u2022 If the Web Service returns a normal response, log the response inside a database table and end the BPM
If it is possible, please can you provide an example?
Thank you,
BrendonHi
Have you found the workaround?
Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
BR -
Web service response contains SOAP Headers with "mustUnderstand" true
Hi
I have a requirement where in I have to consume a web service as adaptive web service model, and while executing the service pass a mandatory parameter to the soap header. We are able to set the mandatory parameter to the soad header. We got the code snippet to do this from a wiki link
http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-WhatarethefunctionalgapsofthecurrentAdpativeWSModelImporter%3F
On executing the service now through web dynpro we are getting the below error
"Web service response contains SOAP Headers with "mustUnderstand" true which are not handled by the client runtime"
Any thoughts on how to handle this mustUnderstand attribute with some code snippet? Appreciate all help.
Thanks,
KN.Hi
Have you found the workaround?
Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
BR -
Error deploying custom java web service -Jdeveloper11.1.1.3.0
Hi all,
Error deploying custom java web service in - Jdeveloper 11.1.1.3.0
Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\.......\LOCALS~1\Temp\.xyz..........Project-context-root.war'
for the application 'xyz....Project-context-root' could not be loaded to the server 'http://hostname:port/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 409 for URL: http://hostname:port/bea_wls_deployment_internal/DeploymentService
See server logs or server console for more details.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\MyApllicationName\Project\deploy\xyz........Project-context-root.war' to 't3://hostname:port'
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Thanks
Edited by: soauser on Sep 3, 2010 8:55 AMAny help for the above post is appreciated..
Edited by: soauser on Sep 3, 2010 11:58 PM -
Error deploying custom java web service in SOA11g-Jdeveloper 11.1.1.3.0
Hi all,
I am getting Error deploying custom java web service in SOA 11G- Jdeveloper 11.1.1.3.0
Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\.......\LOCALS~1\Temp\.xyz..........Project-context-root.war'
for the application 'xyz....Project-context-root' could not be loaded to the server 'http://hostname:port/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 409 for URL: http://hostname:port/bea_wls_deployment_internal/DeploymentService
See server logs or server console for more details.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\MyApllicationName\Project\deploy\xyz........Project-context-root.war' to 't3://hostname:port'
#### Deployment incomplete. ####
Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Edited by: soauser on Sep 3, 2010 7:44 AM
Edited by: soauser on Sep 3, 2010 7:45 AM
Edited by: soauser on Sep 3, 2010 7:46 AMAny help for the above post is appreciated..
Edited by: soauser on Sep 3, 2010 11:58 PM -
Error while completing a web service
Hi,
I have create a RFC, now to use that as a web service I have done the stpes for creating a web service as given in the link
sap technical link tutorial, web service create
when I click on complete button system is giving a messge as Error during activation of web service.
what configuration required for this we have ECC6 system.
regards,
zafar
Edited by: zkarnalkar on Dec 3, 2010 11:13 AMI guess that would depend on the error you're receiving - what is it? I've never seen a generation error for a service provider when following the few steps required, but you could debug the activation if the message isn't clear. Service consumer errors happen all the time and are generally related to WSDL file compatibility.
-
"RABAX" occurs on server side error while testing asynchoronous web service
I got error while testing asynchronous web service in WS navigator. I have created asynchronouse web service using RFC. Then I configured it in SOAMANAGER. When I tested it, got error "RABAX occurs on server side". Also I got dump in ST22. It is 'UNCHAUGHT_EXCEPTION - CX_SOAP_SEQ_SCD_ERROR'.
I have tested for synchronous web service it works fine. I found a difference in both web service WSDL file for below parameters value -
commit
blocking
transaction
wsrm
I tried different way .. but no solution .. Plz suggest if someone have any idea.....Its very helpfull....your problem:
Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
Loader: oracle.bpel.common:10.1.3
Code-Source: /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar
Configuration: <code-source> in /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more) -
Error During Activation of Web services
When I try to create a web services using RFC and try to complete the steps in the wizard. I am getting error message as "Error during Activation of web services". and also when configure service in wizard, im getting only two profiles as "Basic Authorization: SOAP PROFILE" and "Secure SOAP PROFILE". Kindly do the needful.
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Aug 8, 2011 1:33 PMOlivier, thank you so much
SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
I think the problem is related to user rights/profiles.
I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
Probably the new entry in SICF will be created after activating WS in SE80...
Do u know what user profile should I add in order to properly activate the WS in SE80?
Thank you very much!
Vicente -
Error: Error #2170 Connection Type: Web Service
Hi all,
In BO I have changed the external address on DNS say abc.com
Now when I try to access the dashboard internally it gives the error trying to access xyz.com which was previous external ip.
The error I get is
To access external data, add a cross-domain policy file to the external data web server.
For more information, on the Adobe website, see the article "Cross-domain Policy File Specification".
If the problem persists, contact the file creator or your system administrator.
Error: Error #2170
Connection Type: Web Service
File URL: http://abc.com...
External Data URL: http://xyz.com...."May be in connections, you have hardcoded the server as xyz.com. It is always advisable to use relative url so that the servername and port is resolved in runtime.
Also, check in CMC > Applications > Web Service > Properties what is the server name specified ? Is it still the old one ? -
Errors when compiling the web service (SAP Web Service Design Tool)
After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
There are errors when compiling the web service.
Is does not say whatu2019s wrong or how I can solve this problem.
Who can help me?
Some notes:
1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
Thanks for any help,
Ron
ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
Edited by: RonKoudijs on Aug 26, 2010 6:28 PMHello Taylan,
I think the error that you received was due to packaging issues.I placed the
UtilClass.java file under a directory called data which was present under
the project directory.
When you want to access a java class, you can either place the compiled
class file in the WEB-INF/classes folder or you can place the java file
under the project directory.
I have attached the sample project that I created with your files.
Let me know if you have any other questions.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"taylan" <[email protected]> wrote in message
news:3d6351b0$[email protected]..
>
I am trying to write a simpe web service in WebLogic Workshop, but havingan error
which I could not understand. Could you please help me? Thanks in advance.
Regards,
Taylan
My web service code is like belows:
import weblogic.jws.control.JwsContext;
import data.*;
public class WebService1
/** @jws:context */
JwsContext context;
* @jws:operation
public UtilClass testType(UtilClass tTest){
UtilClass returnObj=new UtilClass();
if(tTest.getName()!= null){
returnObj.setName(tTest.getName());
return returnObj;
and my UtilClass is placed in the data directory under the same directorywith
my web service code. It is a simpe class as belows:
package data;
public class UtilClass
private String name;
public void setName(String name){
this.name=name;
public String getName(){
return name;
However I got an error when I try to compile the webservice class. Theerror is
like belows:
File Line Message
WebService1.jws 0 Resource found on system classpath: data.UtilClass
Build complete - 1 error(s), 0 warning(s)
[ngroup.zip]
Maybe you are looking for
-
I have downloaded the latest Itunes update, but it will not install and I receive a message 'apple mobile device failed to start'. I have uninstalled and reinstalled itunes but still have the same problem!
-
What to do with IOException of Cp437
Hi, I have a Java MQ application that read messages from an MQSeries queue. The program works fine on my PC but running it on other computers returned an IOException of Cp437. I know it has something to do with encoding but a) how do I handle this an
-
Syncing contacts conflict resolution
I had given up trying to sync my torch with my MAC. It causes me more trouble and I spend more time trying to correct all the errors than if I were to just manually enter the information twice (once on the phone, once on the computer). I decided to t
-
How to get versioning to work on network drive?
I'm having a setup with two computers. An iMac and a Mac mini, both running Lion. I have so far been happy with the versioning in iWork and appreciate not having to save the file before exiting Pages. Well, that was when the document was stored on my
-
Deactivate country from sales/purchase tax determination
Hello, We are facing a typical problem in tax, We have a requiement to deactivate tax for some countries and these countries are not relevant for any sale/purchase tax. For that, we removed the country from define tax determination rules in sales & d