Thanks Ann,

Here's the WSDL.

-------------------------------------------------------------------------------------------
<wsdl:definitions targetNamespace="http://66.14.138.*:8081/eTranscriptService/services/ETranscriptService";>
<wsdl:message name="getTimeStampRequest">
</wsdl:message>
<wsdl:message name="initResponse">
</wsdl:message>
-
<wsdl:message name="serviceRequest">
<wsdl:part name="xml" type="xsd:string"/>
</wsdl:message>
-
<wsdl:message name="getTimeStampResponse">
<wsdl:part name="getTimeStampReturn" type="xsd:string"/>
</wsdl:message>
-
<wsdl:message name="serviceResponse">
<wsdl:part name="serviceReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="initRequest">
</wsdl:message>
-
<wsdl:portType name="ETranscriptService">
-
<wsdl:operation name="init">
<wsdl:input message="impl:initRequest" name="initRequest"/>
<wsdl:output message="impl:initResponse" name="initResponse"/>
</wsdl:operation>
-
<wsdl:operation name="getTimeStamp">
<wsdl:input message="impl:getTimeStampRequest" name="getTimeStampRequest"/>
<wsdl:output message="impl:getTimeStampResponse" name="getTimeStampResponse"/>
</wsdl:operation>
-
<wsdl:operation name="service" parameterOrder="xml">
<wsdl:input message="impl:serviceRequest" name="serviceRequest"/>
<wsdl:output message="impl:serviceResponse" name="serviceResponse"/>
</wsdl:operation>
</wsdl:portType>
-
<wsdl:binding name="ETranscriptServiceSoapBinding" type="impl:ETranscriptService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-
<wsdl:operation name="init">
<wsdlsoap:operation soapAction=""/>
-
<wsdl:input name="initRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://dataaccess.service.eTranscript.interfacemgmt.net"; use="encoded"/>
</wsdl:input>
-
<wsdl:output name="initResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://66.14.138.*:8081/eTranscriptService/services/ETranscriptService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="getTimeStamp">
<wsdlsoap:operation soapAction=""/>
-
<wsdl:input name="getTimeStampRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://dataaccess.service.eTranscript.interfacemgmt.net"; use="encoded"/>
</wsdl:input>
-
<wsdl:output name="getTimeStampResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://66.14.138.*:8081/eTranscriptService/services/ETranscriptService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
<wsdl:operation name="service">
<wsdlsoap:operation soapAction=""/>
-
<wsdl:input name="serviceRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://dataaccess.service.eTranscript.interfacemgmt.net"; use="encoded"/>
</wsdl:input>
-
<wsdl:output name="serviceResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://66.14.138.*:8081/eTranscriptService/services/ETranscriptService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
<wsdl:service name="ETranscriptServiceService">
-
<wsdl:port binding="impl:ETranscriptServiceSoapBinding" name="ETranscriptService">
<wsdlsoap:address location="http://66.14.138.*:8081/eTranscriptService/services/ETranscriptService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
-------------------------------------------------------------------------------------------
----- Original Message ----- From: "Anne Thomas Manes" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Wednesday, May 11, 2005 6:50 PM
Subject: Re: no Deserilizer found for anySimpaleType



We also need to see the WSDL.

I assume your problem is caused by the use of a type called
xsd:anySimpleType -- but there is no such type defined in the XML
Schema type system. Perhaps you have specified an invalid
targetNamespace, or perhaps you've just specified an invalid type. But
we can't tell without seeing the WSDL.

Anne

On 5/11/05, YIXING MA <[EMAIL PROTECTED]> wrote:
Thanks,

Please help me with that. I really struggling right now.

The exception was:
********************************************************************
java.rmi.RemoteException: org.xml.sax.SAXException: Deserializing parameter
'anySimpleType': could not find deserializer for type
{http://www.w3.org/2001/XMLSchema}anySimpleType
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:505)
at
net.interfacemgmt.eTranscript.client.action.UserMainAction.execute(UserMainAction.java:193)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
********************************************************************


Client side code was:

********************************************************************
 String epAddr =
"http://66.14.138.***:8081/eTranscriptService/services/ETranscriptService";;
      String wsdlAddr = epAddr + "?wsdl";
      String svcName = "ETranscriptServiceService";
      String portName = "ETranscriptService";
      String nameSpaceUri =
"http://66.14.138.***:8081/eTranscriptService/services/ETranscriptService";;
      String URI_ENCODING =
        "http://schemas.xmlsoap.org/soap/encoding/";;
      String ENCODING_STYLE_PROPERTY =
        "javax.xml.rpc.encodingstyle.namespace.uri";
      java.net.URL wsdlUrl = new java.net.URL(wsdlAddr);
      ServiceFactory svcFactory = ServiceFactory.newInstance();
      QName svcQName = new QName(nameSpaceUri, svcName);
      Service svc = svcFactory.createService(wsdlUrl, svcQName);

      HashMap cfg = new HashMap();
      cfg.put("trustStoreFile",
        "C:\\Documents and Settings\\Cheney\\.keystore");

//cfg.put("trustStoreFile","D:\\ThirdParty\\jstk-1.0.1\\bin\\rootca\\ca.ks");
      cfg.put("trustStoreType", "JCEKS");
      cfg.put("trustStorePassword", "changeit");
      cfg.put("keyStoreFile",
        "D:\\ThirdParty\\jstk-1.0.1\\bin\\rootca\\MyTestCertificate");
      cfg.put("keyStoreType", "JCEKS");
      cfg.put("keyStorePassword", "myKeyStorePass");
      cfg.put("keyEntryAlias", "myTestCertificate");
      cfg.put("keyEntryPassword", "myKeyPass");

      Class handlerClass =
net.interfacemgmt.eTranscript.AxisClient.WSSClientHandler.class;
      java.util.List list = svc.getHandlerRegistry().getHandlerChain(
        new QName(nameSpaceUri, portName));
      list
        .add(new javax.xml.rpc.handler.HandlerInfo(handlerClass, cfg,
          null));

      Call call = (Call) svc.createCall();
      call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
      call.setProperty(Call.OPERATION_STYLE_PROPERTY,"rpc");
      call.setTargetEndpointAddress(epAddr);
      call.setOperationName(new QName(nameSpaceUri, "service"));
      call.setPortTypeName(new QName(nameSpaceUri, portName));

      String arg = xmlString;
      System.out.println("test 1");
      System.out.println("sending: " + arg);
      String res = (String) call.invoke(new String[] { arg });
      System.out.println("received: " + res);

*************************************************************************
----- Original Message -----
From: "Srinadh Karumuri" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Wednesday, May 11, 2005 12:23 PM
Subject: Re: no Deserilizer found for anySimpaleType

> Yixing,
>
> Following might help you get a quick reply from someone. Please post the
> code from:
>
> 1. Server side code.
> 2. part of server-conf.wsdd
> 3. WSDL
> 4. Client side code.
>
> BTW, please stick to your subject as the mail server will put the > replies
> in the same thread and it's easy to search/find.
>
> -Sri
>
> At 10:42 AM 5/11/2005, you wrote:
>>Good morning all,
>>
>>I ran the Axis program and got an error.
>>
>>The error was
>>No Deserilizer found for anySimpaleType
>>
>>Sorry for the misunderstanding for the last email.
>>
>>
>>Yixing
>
>






Reply via email to