Invalid element RenderOptionsSpec - CB error while calling Output Service through web service
Hi,
I am trying to call generatePDFOutput from Output Service through web service.
I have generated the proxy class using RAD webservice client option by http://10.235.0.232:8080/soap/services/OutputService?wsdl
here is my code
OutputServiceServiceLocator outputService =new OutputServiceServiceLocator();URL serviceURL =
new URL("http://10.235.0.232:8080/soap/services/OutputService?blob=base64");OutputServiceSoapBindingStub outputClient =
new OutputServiceSoapBindingStub(serviceURL, outputService);
((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
USERNAME_PROPERTY,DSC_CREDENTIAL_USERNAME);((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
PASSWORD_PROPERTY,DSC_CREDENTIAL_PASSWORD);
//Reference XML data to merge into the PDF document
BLOB inData =new BLOB();inData.setBinaryData("Input xml in bytes");
formName =
"/AdobePOC/Forms/sample.xdp";
//Set PDF run-time options
PDFOutputOptionsSpec pdfOptions =new PDFOutputOptionsSpec();pdfOptions.setFileURI(
"repository://");
RenderOptionsSpec renderOptions =
new RenderOptionsSpec();renderOptions.setCacheEnabled(
true);
BLOBHolder generatePDFOutputPDFDoc =
new BLOBHolder();BLOBHolder generatePDFOutputMetaDataDoc =
new BLOBHolder();BLOBHolder generatePDFOutputResultDoc =
new BLOBHolder();OutputResultHolder outResultHolder =
new OutputResultHolder();
//Create a PDF Document
outputClient.generatePDFOutput(TransformationFormat.PDFA, formName,"repository://", pdfOptions, renderOptions,inData, generatePDFOutputPDFDoc,generatePDFOutputMetaDataDoc, generatePDFOutputResultDoc,outResultHolder);
return generatePDFOutputResultDoc.value;
I am getting the following error while executing the above code.
09 17:05:05:407 IST] 00000028 SystemErr R AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
faultString:
org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CBfaultActor:
faultNode:faultDetail:
{}faultData:<ns1:exception xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB</ns2:message>
{http://xml.apache.org/axis/}hostname:A1AIGMD02018
[6/25/09 17:05:05:407 IST] 00000028 SystemErr R org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault(
SOAPFaultBuilder.java:222)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement(
SOAPFaultBuilder.java:129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement(
DeserializationContext.java:1087)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse(
DeserializationContext.java:227)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
SOAPPart.java:696)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.Message.getSOAPEnvelope(
Message.java:435)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
MustUnderstandChecker.java:62)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.AxisClient.invoke(
AxisClient.java:206)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invokeEngine(
Call.java:2784)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2767)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2443)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2366)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:1812)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput(
OutputServiceSoapBindingStub.java:579)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.WebOutputService.call(
WebOutputService.java:70)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.ServiceCallThroWebService.call(
ServiceCallThroWebService.java:13)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform(
WebServiceHandler.java:92)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform(
ActionServlet.java:1787)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.process(
ActionServlet.java:1586)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.doGet(
ActionServlet.java:492)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet(
PubServlet.java:42)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:743)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:856)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:966)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:478)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:463)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(
WebApp.java:3129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(
WebGroup.java:238)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(
WebContainer.java:811)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1433)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
WCChannelLink.java:93)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:465)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:394)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(
HttpICLReadCallback.java:102)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:152)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:213)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(
AbstractAsyncFuture.java:195)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AsyncFuture.completed(
AsyncFuture.java:136)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.complete(
ResultHandler.java:194)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:741)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler$2.run(
ResultHandler.java:863)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(
ThreadPool.java:1510)
Please help me to fix this error.
Thanks in advance
Lavanya.
Hodmi, Thanks for your reply.
If i set RenderOptionsSpec values its not throwing Invalid element RenderOptionsSpec - CB error but its throwing ALC-DSC-000-000 internal error
[6/26/09 17:11:35:021 IST] 00000029 SystemErr R AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
faultString:
com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.faultActor:
faultNode:faultDetail:
{}faultData:<ns1:result xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
{http://xml.apache.org/axis/}hostname:A1AIGMD01299
[6/26/09 17:11:35:021 IST] 00000029 SystemErr R
com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault(
SOAPFaultBuilder.java:222)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement(
SOAPFaultBuilder.java:129)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement(
DeserializationContext.java:1087)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse(
DeserializationContext.java:227)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
SOAPPart.java:696)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.Message.getSOAPEnvelope(
Message.java:435)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
MustUnderstandChecker.java:62)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.AxisClient.invoke(
AxisClient.java:206)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invokeEngine(
Call.java:2784)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2767)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2443)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2366)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:1812)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput(
OutputServiceSoapBindingStub.java:579)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.WebOutputService.call(WebOutputService.java)
[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform(
WebServiceHandler.java:76)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform(
ActionServlet.java:1787)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.process(
ActionServlet.java:1586)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.doGet(
ActionServlet.java:492)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet(
PubServlet.java:42)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:743)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:856)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:966)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:478)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:463)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(
WebApp.java:3129)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(
WebGroup.java:238)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(
WebContainer.java:811)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1433)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
WCChannelLink.java:93)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:465)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:394)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(
HttpInboundLink.java:274)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(
NewConnectionInitialReadCallback.java:214)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(
NewConnectionInitialReadCallback.java:113)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:152)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:213)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(
AbstractAsyncFuture.java:195)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AsyncFuture.completed(
AsyncFuture.java:136)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.complete(
ResultHandler.java:194)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:741)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler$2.run(
ResultHandler.java:863)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(
ThreadPool.java:1510)
Please help me to fix this also.
Thanks in advance
Lavanya.
Similar Messages
-
Error while calling MII transaction as web service from ABAP
Hello Experts,
I want to call a MII transaction from ABAP program, as a web service.
Following is output of http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX (TAG_TRX is name of my transaction).
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
- <!-- Types
-->
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
- <s:complexType name="InputParams">
- <s:sequence id="InputSequence">
<s:element maxOccurs="1" minOccurs="0" name="WEIGHT" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="BATCHID" type="s:string" />
</s:sequence>
</s:complexType>
- <s:element name="XacuteRequest">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="Rowset">
- <s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
</s:sequence>
<s:attribute name="Message" type="s:string" />
</s:complexType>
- <s:complexType name="Row">
<s:sequence id="RowSequence" />
</s:complexType>
- <s:element name="XacuteResponse">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
- <!-- Messages
-->
- <message name="XacuteSoapIn">
<part element="s0:XacuteRequest" name="parameters" />
</message>
- <message name="XacuteSoapOut">
<part element="s0:XacuteResponse" name="parameters" />
</message>
- <!-- Ports
-->
- <portType name="XacuteWSSoap">
- <operation name="Xacute">
<input message="s0:XacuteSoapIn" />
<output message="s0:XacuteSoapOut" />
</operation>
</portType>
- <!-- Bindings
-->
- <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Xacute">
<soap:operation soapAction="http://www.sap.com/xMII" style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <!-- Service mapping
-->
- <service name="XacuteWS">
- <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
<soap:address location="http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX" />
</port>
</service>
</definitions>
Now, when I am using http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX to create a Enterprise Service in SAP (i.e. SE80 transaction-> Create Enterprise Service-> Service Consumer-> URL/HTTP Destination-> URL ... I am getting following error.
Incorrect value: Entity "<<document>>"(5 /93 ). unexpected symbol: '<'
But, whenever I am using the same URL in MII BLS, it does not give any error. It correctly shows all input and output parameters.
Please help me to resolve this issue.
Regards
Neeta.Now, I am able to create the Web Service in SAP and it is now showing the respective class, attribute and methods to execute this web service (web service to call MII transaction).
But when I am calling it from ABAP (a simple Web Dynpro for ABAP method), it is showing me the following error:
Error (id=GET_BUSINESS_SYSTEM_ERROR): An error occurred when determining the business system (LD_ERROR)
Thought this error is coming from ABAP program, but I am sure that this is related to some configuration at SAP level. (Let me inform you that there are two different servers for SAP Web Dynpro ABAP and SAP MII.
Please help.
Thanks in advance. -
Error while calling MII transaction as web service
Hi all,
I am using MII version 12.1.8
When i try calling a BLS as a web service i am getting an error as " [ERROR] Error Invoking Web Service Action: Status (502): Proxy Error ( No data record is available. ) "
The same WSDLGen url is working from the browser. The path is http://<server>:50000/XMII/WSDLGen/<TrxPath>
I also gave Proxy Host and Proxy Port in System Management --> System Administration
Is there anything i am missing in the web service action.
Kindly help
Regards
MuzammilHi Diana,
It is working now. I removed the proxy settings from system administrator and added a new credential alias for web service. And then it started working..
The scenario which i am trying is as mentioned. We need to call a transaction from a diiferent MII Server. So at first i was trying with the Trx within the same server.
Hope this is the best way to access the transaction from a different server.
Regards
Muzammil -
401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow
We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
then Build{...} Dictionary (Output to Variable:requestHeaders)
then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
The RequestHeader is set to the requestHeaders variable though the web service call properties
then Log Variable:responseCode to the workflow history list
After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
Thank You for any insightHi,
According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
Please make sure you use the ‘Call HTTP Web Service’ correctly.
You can enter the URL into the brower to check whether it is correctly.
You need to
create the Request header requestHeaders
using a Dictionary:
Accept : application/json;odata=verbose
Content-Type : application/json;odata=verbose
To associate the
requestHeaders variable, select the Call action
property, set the RequestHeaders property to
requestHeaders.
Please refer to the following articles:
Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
Calling the SharePoint 2013 Rest API from a SharePoint Designer
Workflow
In addtion, you need to make sure you install the workflow manager correctly.
More information:
Install and configure workflow for SharePoint Server 2013
Known Issues in Workflow Manager 1.0
Troubleshooting Workflow Manager 1.0 Management and Execution
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Error while Submiting Support message through Web browser
Hi Gurus
I am geting error while submiting Support message through Web browser i.e BSP . Please find the error message below
"Error: The system could not create the message because of an RFC connection "NONE " error Service-specific Csutomizing missing for transaction ZLFN"
Note: ZLFN is our Service Desk Message type.
Any ideas where i am doing wrong?
Points will be rewarded
Thanks
BhaskarHello,
check if when you configured your new transaction type ZLFN you have included a corresponding entry in view CRMC_SERVICE_H.
If the transaction type is missing in this view, you have this error.
Regards,
Raquel Cunha -
Unknown Error while communicating with O365 BEC Web Service
Hi Guys,
When I try to add a new mail user in O365 Exchange, one strange error is thrown.
Are any guys kind enough to help me ?
Here is the script and the error.
PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
'[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
//ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
WARNING: Your connection has been redirected to the following URI:
"https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
PS C:\Users\o365-user> Import-PSSession $session
WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.
ModuleType Version Name ExportedCommands
Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
PS C:\Users\o365-user> $users=Get-MailUser
PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
-MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
Unknown Error while communicating with O365 BEC Web Service (Exception type
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
.NewMailUser
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
rebeta5.onmicrosoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
microsoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> Remove-PSSession $session
PS C:\Users\o365-user>
Thanks
Budlion LIUHello,
Or you can also ask on Exchange Online Forum:
https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
Thanks,
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 Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
Error in calling a method from Web services
Hai Experts,
When i try calling a method in web services from webdyn pro its not being called, i get a error SAOPFAULTCODE: 1 . wat might be the problem? The thing i am working with is tat when a employee try to create a FTR(HCM : Travel), a check has to be done in web services and then allow certain employees to proceed and rest should get a error msg but, i could find all the employees r getting the same error msg . Please resolve this issue.
Regards and thanks in advance,
Srija.Hello,
Add the line :
SET_REPORT_OBJECT_PROPERTY(RAP,REPORT_DESNAME,'test.rdf');
before
VRAP:=RUN_REPORT_OBJECT(RAP);
(Of course, 'test.rdf" is an example, replace it by the name of the reports who want to execute)
Regards -
Error when calling BPEL process from web service client
I have created three projects here ,there're no problem when testing Composite Application(SynchronousSampleApplication) by test case inside this project.
When I create a Java Application(SynchronousSampleApp),inside this project I've created a web service client from file WSDL of BPEL. After that, In Main class, I call an operation from web service client.But have the following error:
Jul 17, 2008 4:48:22 PM synchronoussampleapp.Main main
SEVERE: null
java.rmi.RemoteException: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"; nested exception is:
HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:83)
at synchronoussampleapp.Main.main(Main.java:24)
Caused by: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:67)
... 1 more
Please help me soon. Thanks very much!Can't anyone help me? I'm using Netbean 6.1 and Glassfish server.
Do I need any additional plugin? -
Error while trying to publish a web service in UDDI client
hi
i m getting this error when trying to publish my web service in UDDI client.I have
configured my uddi client using Visual Administrator.I created a local test registry.The name of my registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
In my alert window it displays error: 'ur_txt' is undefined.
Regards
mythri.Hi mythri.
Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
Thanks in advance.
Renan -
Hi,
I am using Windows Server 2012 R2 Standard, SSIS 2012. I am trying to copy files from a remote location by calling pscp.exe through a batch file (FileCopy.bat at location M:\bin\) which is referenced in a SSIS Execute Process Task. My batch file content
is,
ECHO OFF
echo. >> M:\Prod\bin\SourceFile_FileLog.txt
echo %date% - %time% - Copy Start (XYZ_a201211155952avx0_69999.NOR.gz) >> M:\Prod\bin\SourceFile_FileLog.txt
M:\ProdFiles\bin\pscp.exe -unsafe -scp -pw aaaaa myuser@sourceserver:/ABC_data/*.NOR.gz M:\Prod\FromMediation\
echo %date% - %time% - Copy Complete >> M:\Prod\bin\SourceFile_FileLog.txt
The error I am getting is
[Execute Process Task] Error: In Executing "M:\bin\FileCopy.bat" "" at "", The process exit code was "1" while the expected was "0".
Exactly same setup but using Windows Server 2003 R2 Enterprise and SSIS 2005, this works fine and copies the files successfully.
Please provide some guidance on this.
Thank you!
'In Persuit of Happiness' and ..... learning SQL.Hi,
This is what I am getting while running the batch file from command prompt
M:\bin\mttrb1>CDR_FileCopy
M:\bin\mttrb1>ECHO OFF
The system cannot find the path specified.
The system cannot find the path specified.
scp: M:\Prod\FromMediation\: Cannot create file
scp: M:\Prod\FromMediation\: Cannot create file
scp: M:\Prod\FromMediation\: Cannot create file
The system cannot find the path specified.
'In Persuit of Happiness' and ..... learning SQL. -
Error while trying to import external web service in webdynpro java
Hi,
I am trying to import external webservice in webdynpro java using adaptive webservice model, but i am getting below error..i tried some other external webservices but those are working fine....I wanted to know if there is any issue with this wsdl?? any suggestions?
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_SearchService?wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.Javac.path=C:\j2sdk1.4.2_19, DynamicProxy.TempDir=C:\Users\sakkav01\AppData\Local\Temp\}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:157)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 52 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:154)
... 55 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Invalid Response Code: (-1) null. The requested URL was:"https//:xxxxxxxxxxxxxxxxxxxxx_SearchService?wsdl" -> com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (-1) null. The requested URL was:"https://xxxxxxxxxxxxxxxxxxxxxxxxxx_SearchService?wsdl"
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 56 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (-1) null. The requested URL was:"https://xxxxxxxxxxxxxxxxxxxx/HCP_SearchService?wsdl"
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:180)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)
... 58 moreHi Vijay,
There was some issues with the wsdl url itselft, now i got the right wsdl url and i tried with wsnavigator , i tested it works fine from there...
but when i try to import using adaptive web service model it is throwing error..pls find the error log below...i am getting cannot load namespaces and model classes error and also some proxy error..i am giving proxy and 8080 as default...pls let me know what exact proxy settings i have to give here..
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'https://xxxxxxxxxxxxxxxxxxchService?wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files (x86)/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass="*.sap.corp"|usc1-dpid01|, DynamicProxy.INetProxy.Port=8080, DynamicProxy.Javac.path=C:\j2sdk1.4.2_19, DynamicProxy.TempDir=C:\Users\sakkav01\AppData\Local\Temp\, DynamicProxy.INetProxy.Host=proxy'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:158)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:92)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 52 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:155)
... 55 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to https://xxxxxxxxxxxxxxxxx_SearchService?wsdl, passing via http proxy: https://usc1-dpid01:21000: Peer sent alert: Alert Fatal: illegal parameter -> java.io.IOException: Cannot connect to https://xxxxxxxxxxxx_SearchService?wsdl, passing via http proxy:proxy: Peer sent alert: Alert Fatal: illegal parameter
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 56 more
Caused by: java.io.IOException: Cannot connect to https://xxxxxxxxxxxxxxx_SearchService?wsdl, passing via http proxy:: Peer sent alert: Alert Fatal: illegal parameter
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:175)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)
... 58 more -
Error while inluding xsd:whiteSpace in web-services.xml
Hi,
i am trying to allow the xml attribute values to preserve the whiteSpace characters(tabs, line feeds, carriage returns etc...)
In web-services.xml i am adding
<xsd:complexContent>
<xsd:restriction base="xsd:string">
<xsd:attribute name="address">
<xsd:whiteSpace value="preserve"/>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
But i am getting a run time exception as
[weblogic.xml.schema.model.parser.XSDParseException: invalid element "xsd:whiteSpace" AT line 0, column 0: <['http://www.w3.org/2001/XMLSchema']:xsd:whiteSpace value="preserve">]
am i doing in a correct way?
Please suggest me.
Thanks
subba.weblogic server doesn't support some of the xsd features.
WebLogic Server does not support the following XML Schema features:
? Complex data type inheritance by restriction
? Union simple data types
? References to named model groups
? Nested content models in a single complex type
? Redefinition of declarations
? Identity constraints (key, keyref, unique)
? Nested XSD model groups with other content models at the same level.
There cannot be a modelgroup (say sequence) that contains another nested modelgroup (say choice), and a content element (say element). So, if a nested modelgroup is required, make sure that it contains only another model group and no other content element.
? Wildcards
but i didn't understand why its giving error for whiteSpace.
Can someone reply to this please,, its urgent for me.
thanks
subba. -
Error 403 while executing Web Service through Web Service Navigator
Hello All,
I am trying to execute "Create Sales Order" Web Service from WS Navigator. After filling all the input parameters and clicking on execute button, I get a error message
Failed Invalid Response code (403)
I know the execution is not reaching the back end proxy class. Any inputs on what could be causing this issue?
Regards,
AbhishekHi Abhishek,
Error code 403 means that the [access is forbidden.|http://en.wikipedia.org/wiki/HTTP_403]
This means that the user access that is being used to access the Web Service / Backend Proxy does not have enough authorizations to perform the action.
Check this user id, and its roles.
Regards,
Alka. -
Serialization error while returning Value Object from Web Service
Hi
I have developed a sample Web Service (RPC based), it returns Customer Value Object
when client calls getCustomer method.
I have written a Client (attached the client source code) to invoke the web service
when the client invokes the Web Service it throws an Exception , the Exception
Exception in thread "main" serialization error: no serializer is registered for
(null, {java:customer}Customer)
at com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer(DynamicInternalTypeMappingRegistry.java:62)
at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPResponseSerializer.java:72)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(ReferenceableSerializerImpl.java:47)
at com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCall.java:382)
at com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.java:364)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
at ClientwithWSDL.main(ClientwithWSDL.java:63)
CAUSE:
no serializer is registered for (null, {java:customer}Customer)
at com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.java:41)
at com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(InternalTypeMappingRegistryImpl.java:287)
at com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer(DynamicInternalTypeMappingRegistry.java:47)
at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPResponseSerializer.java:72)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(ReferenceableSerializerImpl.java:47)
at com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCall.java:382)
at com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.java:364)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
at ClientwithWSDL.main(ClientwithWSDL.java:63)
If someone can help me to fix the issue, it will be great.
Thanks
Jeyakumar Raman.I guess, this is because the RI client is not finding the
codec to ser/deser your Value Object. You need to register
the codec in the type mapping registry before you invoke
the web service method.
Here is a sample:
Service service = factory.createService( serviceName );
TypeMappingRegistry registry = service.getTypeMappingRegistry();
TypeMapping mapping = registry.getTypeMapping(
SOAPConstants.URI_NS_SOAP_ENCODING );
mapping.register( SOAPStruct.class,
new QName( "http://soapinterop.org/xsd", "SOAPStruct" ),
new SOAPStructCodec(),
new SOAPStructCodec() );
BTW, you can do the same exact thing on the client by using
WLS impl of JAX-RPC. Is there a reason for using RI on the
client side?
regards,
-manoj
"Jeyakumar Raman" <[email protected]> wrote in message news:[email protected]...
Hi Manoj,
Thanks for your information, Yes, my client is Sun's JAX-RPC based, but the Server
Implementation is done using Weblogic 7.0. When I invoke the Client without WSDL.
It works fine without any problem. But when I invoke the webservice using WSDL,
I am getting this problem.
Here is my Client Code :
* This class demonstrates a java client invoking a WebService.
import java.net.URL;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
import customer.Customer;
public class ClientwithWSDL {
private static String qnameService = "CustomerService";
private static String qnamePort = "CustomerServicePort";
private static String BODY_NAMESPACE_VALUE =
"http://jeyakumar_3957:7001/Customer";
private static String ENCODING_STYLE_PROPERTY =
"javax.xml.rpc.encodingstyle.namespace.uri";
private static String NS_XSD =
"http://www.w3.org/2001/XMLSchema";
private static String URI_ENCODING =
"http://schemas.xmlsoap.org/soap/encoding/";
private static String method="getCustomer";
private static String endpoint="http://jeyakumar_3957:7001/webservice/CustomerService?WSDL";
public static void main(String[] args) throws Exception {
// create service factory
ServiceFactory factory = ServiceFactory.newInstance();
// define qnames
QName serviceName =new QName(BODY_NAMESPACE_VALUE, qnameService);
QName portName = new QName(BODY_NAMESPACE_VALUE, qnamePort);
QName operationName = new QName("",method);
URL wsdlLocation = new URL(endpoint);
// create service
Service service = factory.createService(wsdlLocation, serviceName);
// create call
Call call = service.createCall(portName, operationName);
// invoke the remote web service
Customer result = (Customer) call.invoke(new Object[0]);
System.out.println("\n");
System.out.println(result);
"manoj cheenath" <[email protected]> wrote:
>
>
>Hi Jayakumar,
>
>From the stack trace it looks like you are using sun's
>RI of JAX-RPC. I am not sure what is going wrong with RI.
>
>WLS 7.0 got its own implementation of JAX-RPC. Check
>out the link below for details:
>
>http://edocs.bea.com/wls/docs70/webserv/index.html
>
>
>Let us know if you need more details.
>
>--=20
>
>regards,
>-manoj
>
>
>
> "Jeyakumar" <[email protected]> wrote in message =
>news:[email protected]...
>
> Hi
>
> I have developed a sample Web Service (RPC based), it returns Customer
>=
>Value Object
> when client calls getCustomer method.
>
> I have written a Client (attached the client source code) to invoke
>=
>the web service
> when the client invokes the Web Service it throws an Exception , the
>=
>Exception
>
>
> Exception in thread "main" serialization error: no serializer is =
>registered for
> (null, {java:customer}Customer)
> at =
>com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
>(DynamicInternalTypeMappingRegistry.java:62)
>
> at =
>com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
>nseSerializer.java:72)
> at =
>com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
>ableSerializerImpl.java:47)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
>l.java:382)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
>va:364)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
> at ClientwithWSDL.main(ClientwithWSDL.java:63)
>
> CAUSE:
>
> no serializer is registered for (null, {java:customer}Customer)
> at =
>com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.ja=
>va:41)
> at =
>com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(In=
>ternalTypeMappingRegistryImpl.java:287)
> at =
>com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
>(DynamicInternalTypeMappingRegistry.java:47)
>
> at =
>com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
>nseSerializer.java:72)
> at =
>com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
>ableSerializerImpl.java:47)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
>l.java:382)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
>va:364)
> at =
>com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
> at ClientwithWSDL.main(ClientwithWSDL.java:63)
>
> If someone can help me to fix the issue, it will be great.
>
> Thanks
> Jeyakumar Raman.
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Diso-8859-1">
><META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
><STYLE></STYLE>
></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT face=3DCourier size=3D2>Hi Jayakumar,</FONT></DIV>
><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
><DIV><FONT face=3DCourier size=3D2>From the stack trace it looks like
>=
>you are using=20
>sun's</FONT></DIV>
><DIV><FONT face=3DCourier size=3D2>RI of JAX-RPC. I am not sure
>=
>what is going=20
>wrong with RI.</FONT></DIV>
><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
><DIV><FONT face=3DCourier size=3D2>WLS 7.0 got its own implementation
>of =
>
></FONT><FONT face=3DCourier size=3D2>JAX-RPC. Check</FONT></DIV>
><DIV><FONT face=3DCourier size=3D2>out the link below for =
>details:</FONT></DIV>
><DIV><FONT face=3DCourier size=3D2></FONT><FONT face=3DCourier=20
>size=3D2></FONT> </DIV>
><DIV><FONT face=3DCourier size=3D2><A=20
>href=3D"http://edocs.bea.com/wls/docs70/webserv/index.html">http://edocs.=
>bea.com/wls/docs70/webserv/index.html</A></FONT></DIV>
><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
><DIV><FONT face=3DCourier size=3D2>Let us know if you need more=20
>details.</FONT></DIV>
><DIV><BR>-- <BR><BR>regards,<BR>-manoj</DIV>
><DIV> </DIV>
><DIV><BR> </DIV>
><BLOCKQUOTE=20
>style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
>BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> <DIV>"Jeyakumar" <<A=20
> href=3D"mailto:[email protected]">[email protected]</A>>
>=
>wrote in=20
> message <A=20
> =
>href=3D"news:[email protected]">news:[email protected]=
>a.com</A>...</DIV><BR>Hi<BR><BR>I=20
> have developed a sample Web Service (RPC based), it returns Customer
>=
>Value=20
> Object<BR>when client calls getCustomer method.<BR><BR>I have written
>=
>a Client=20
> (attached the client source code) to invoke the web service<BR>when
>=
>the client=20
> invokes the Web Service it throws an Exception , the=20
> Exception<BR><BR><BR>Exception in thread "main" serialization error:
>=
>no=20
> serializer is registered for<BR>(null,=20
> {java:customer}Customer)<BR>
>=
>at=20
> =
>com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
>(DynamicInternalTypeMappingRegistry.java:62)<BR><BR> &nb=
>sp; =20
> at=20
> =
>com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
>nseSerializer.java:72)<BR> =20
> at=20
> =
>com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
>ableSerializerImpl.java:47)<BR> =
>=20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
>l.java:382)<BR> =20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
>va:364)<BR> =20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)<BR> =
> =20
> at ClientwithWSDL.main(ClientwithWSDL.java:63)<BR><BR>CAUSE:<BR><BR>no
>=
>
> serializer is registered for (null,=20
> {java:customer}Customer)<BR>
>=
>at=20
> =
>com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.ja=
>va:41)<BR> =20
> at=20
> =
>com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(In=
>ternalTypeMappingRegistryImpl.java:287)<BR> =
> =20
> at=20
> =
>com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
>(DynamicInternalTypeMappingRegistry.java:47)<BR><BR> &nb=
>sp; =20
> at=20
> =
>com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
>nseSerializer.java:72)<BR> =20
> at=20
> =
>com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
>ableSerializerImpl.java:47)<BR> =
>=20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
>l.java:382)<BR> =20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
>va:364)<BR> =20
> at=20
> =
>com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)<BR> =
> =20
> at ClientwithWSDL.main(ClientwithWSDL.java:63)<BR><BR>If someone can
>=
>help me=20
> to fix the issue, it will be great.<BR><BR>Thanks<BR>Jeyakumar=20
>Raman.</BLOCKQUOTE></BODY></HTML>
>
>
[att1.html] -
Compilation Error while trying to Deploy my Web Service
My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
Started application : RTAService-RTAService-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
Operation failed with error:
Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
I don’t know where to look at for this issue. I don't get information about what compilation error it is.
I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
This is the Class I try to deploy has a web service:
package rtaservice;
import javax.jws.WebService;
@WebService(serviceName = "RTAWebService")
public class RTAWebService {
public RTAWebService() {
public TransactionResult Process(Transaction Trans) {
TransactionResult TransResult;
TransResult = new TransactionResult();
TransResult.Account_type ="";
TransResult.Address_Line1 ="";
TransResult.Amount ="";
TransResult.Approval_Cd ="";
TransResult.Approval_Cd_returned ="";
TransResult.Approved ="";
TransResult.Avs_Response_C ="";
TransResult.Avs_Response_M ="";
TransResult.BCFerries_Error_description ="";
TransResult.BCFerries_Processing_Mode =true;
TransResult.BCFerries_Resp_Code ="";
TransResult.BCFerries_Trans_approved =true;
TransResult.CardType ="";
TransResult.CVV_Code ="";
TransResult.CVV_response ="";
TransResult.DateTime ="";
TransResult.Display_Msg ="";
TransResult.ExtendedOPId ="";
TransResult.ID_Seq_Number ="";
TransResult.Invoice_num ="";
TransResult.Invoice_num_returned ="";
TransResult.ISOResponseCode ="";
TransResult.OperatorID ="";
TransResult.OperatorLanguage ="";
TransResult.OperatorMessage ="";
TransResult.Receipt_Msg ="";
TransResult.Receipt_Msg_Account ="";
TransResult.ReceiptRefNum ="";
TransResult.Response_Code ="";
TransResult.RFU1 ="";
TransResult.RFU2 ="";
TransResult.Statement_Desc ="";
TransResult.Term_ID ="";
TransResult.Term_ID_Group ="";
TransResult.Track2_Acc ="";
TransResult.Trans_Code ="";
TransResult.Transaction_Handle ="";
TransResult.TransactionCounter ="";
TransResult.TransactionHandle ="";
TransResult.Zip ="";
TransResult.Account_type_returned ="";
return TransResult;
There are 2 others classes to define the objects Transaction and Transaction Result
package rtaservice;
public class Transaction {
public Transaction() {
// Eigen parameters
public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
public String Term_ID; // should be the merchant ID
public String Term_ID_Group; // not used
public String Trans_Code; // should be all the time 27 right now
public String Track2_Acc; // ! there is a specific format to respect here
// Track2_Acc contains the data as read by a card reader from track 2 starting by ;
// for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
public String Amount; // in Cents
public String Approval_Cd;
public String DateTime; // format is YYYYMMDDHHMMSS
public String OperatorID; // Optional
public String ExtendedOPId; // Optional
public String OperatorLanguage; // Optional
public String Account_type; // not use for now
public String Statement_Desc; // not use for now
public String CVV_Code;
public String Address_Line1; // Optional
public String Zip; // Optional
public String TransactionHandle; // Optional
// additional parameters for future use
public String RFU1; // Reserved for future use
public String RFU2; // Reserved for future use
package rtaservice;
public class TransactionResult extends Transaction {
public TransactionResult() {
public String BCFerries_Resp_Code;
public String BCFerries_Error_description;
public Boolean BCFerries_Trans_approved;
public Boolean BCFerries_Processing_Mode;
// Eigen parameters
public String ID_Seq_Number;
public String Display_Msg; // Optional
public String Receipt_Msg; // Optional
public String Response_Code;
public String Approval_Cd_returned; // Optional
public String ISOResponseCode;
public String ReceiptRefNum;
public String TransactionCounter;
public String Approved;
public String OperatorMessage;
public String Receipt_Msg_Action; // Optional
public String Receipt_Msg_Account;
public String CardType;
public String Invoice_num_returned; // Optional
public String Account_type_returned;
public String CVV_response;
public String Avs_Response_C;
public String Avs_Response_M;
public String Transaction_Handle; // Optional
Thanks for your timeHi mythri.
Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
Thanks in advance.
Renan
Maybe you are looking for
-
Hello, I'm in Russia. I have problem with my iPhone and I want to fix it. I know that tere are 3 oprerator witch provides tecnical support in my contry. I called all of them ( Beeline, Megafon, mts) and they said that my iPhone is not theirs iPhone,
-
Use multiple binding in Dynamic Query.
I have a Dynamic Queery that requires multiple bindings str as String = "Select * from table where a='?' and b=?" params as Any[] params[] = "NY" params[] = 2 execute(DynamicSQL, sentence : str, implname : "DB_CONNECTION", inParameters : params) this
-
Screen Sharing Key Mappings: Expose and Command-Tab?
I am using Screen Sharing successfully and loving it - except that command keys work on my local machine instead of the remote machine. How do I get the Expose keys, like F9 and F10, and/or the Command-Tab keys to work on the remote machine? Help?
-
hi all is there a way to fully customize the basic search portlet? how can i change the name of the "search" button - i want it to be in my native language, and the portal doens have a translation for it can anyone help?
-
InDesign CS5 Mac & Suitcase Fusion 3.0 - Crashing when exporting PDFs
Hi there, experts in InDesign I work as a professional graphic designer on a mac with inDesign. I make my living with exporting highres PDF files and sending them to the printers. When I activate Extensis Suitcase fusion plug-ins, inDesign constantly