Thanks for prompt reply, Anne,
Of course those types exists in the locally located schema files.
Thanks for noticing SOAP encoding in the soap:body. But, I dont think its related.
The problem is that in generated WSDD file there is line:
  <parameter name="allowedMethods" value="getKnownClients removePBRClient getClientInfo updatePBRClient enablePBRClient getLSInfo forceUpdatePBRClient addPBRClient openSvcTicket disablePBRClient"/>
I have no idea why its getting generated in such order but it seems like this order is important to identify the correct operation on the server. However, in generated client's stub file the order of the
operations is different so in real life scenario I have the mismatch between call and invoked method.
I've tested it by changing the order in this "parameter"  list and it worked.
 
--Maxim
 

From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 1:13 PM
To: axis-user@ws.apache.org
Subject: Re: something is wrong with my deployment or Axis ?

Validation of your WSDL using Cape Clear SOA Editor produces the following errors:

- There is no schema component of the name [pbrns:PBRclient] defined in the WSDL either via imported or embedded schema.

- There is no type [{ http://www.lambdastation.org/datatypes/pbrclients/}PBRclient] defined for the part [Part: name=msgPBRC elementName={ http://www.lambdastation.org/datatypes/pbrclients/}PBRclient] in the message [Message: name={pbrAPI}PBRClientMessage Part: name=msgPBRC
elementName={ http://www.lambdastation.org/datatypes/pbrclients/}PBRclient] in the WSDL.

- There is no type [{http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket ] defined for the part [Part: name=openSvcTRS elementName={http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket] in the message [Message: name={pbrAPI}openSvcTicketResponse Part: name=openSvcTRS
elementName={http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket] in the WSDL.

- There is no type [{ http://www.lambdastation.org/datatypes/ls/}LambdaStation] defined for the part [Part: name=msgLS elementName={http://www.lambdastation.org/datatypes/ls/}LambdaStation ] in the message [Message: name={pbrAPI}LSMessage Part: name=msgLS
elementName={http://www.lambdastation.org/datatypes/ls/}LambdaStation] in the WSDL.

- There is no type [{http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket] defined for the part [Part: name=openSvcTRQ elementName={ http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket] in the message [Message: name={pbrAPI}openSvcTicketRequest Part: name=openSvcTRQ
elementName={ http://www.lambdastation.org/datatypes/ls/}OpenSvcTicket] in the WSDL.

Here are some quick observations:

1. You must import the "http://www.lambdastation.org/datatypes/pbrclients/ " namespace into the "http://www.lambdastation.org/datatypes/internal/" schema.

2. You cannot import a namespace into a schema with the same target namespace (you must use <xs:include> instead of <xs:import>). You should combine the two schemas with the target namespace of http://www.lambdastation.org/datatypes/ls/ and include both schemas into the one. You should remove the schema with the target namespace of " http://www.lambdastation.org/datatypes/pbrclients/". (This schema should be imported into the "http://www.lambdastation.org/datatypes/internal/" schema instead.)

3. SOAP Encoding is incompatible with document style. You must remove the encodingStyle and namespace attributes from the <soap:body> and <soap:fault> definitions in your <binding>.

Anne

On 6/21/06, maxim <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to understand what is wrong with my deployment.
It seems like my service is  getting requests , but processing them
with wrong java methods. I've seen it before and its disappeared
after I've changed the order of operations in the binding section
of my WSDL, but after I've added more operations its appeared again.
Its Axis 1.4 on both sides - server and client, all API was developed
starting from WSDL first.
I've attached wsdl and  wsdd files. I am trying to call these methods:

                   org.lambdastation.www.datatypes.pbrclients.PBRclient[]
rmResult = myService.getKnownClients("Fermilab");

               PBRclientDocument.PBRclient myCL = getReq();
                  boolean addResult =
myService.addPBRClient(xmlbeansAxisAdapter.XML2AxisPBR(myCL));

-------------------
But it seems like my service have own opinion about what I am calling ,
basically instead of calling getKnownClients method it calls
getLSInfo method ???:
----------------------------------------
java.lang.ClassCastException
        at
gov.fnal.lambdastation.util.xmlbeansAxisAdapter.XML2AxisLS(xmlbeansAxisAdapt
er.java:43)
????--> at
gov.fnal.lambdastation.services.pbrAPI.lsAPI.getLSInfo(lsAPI.java:218)
        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
org.apache.axis.providers.java.RPCProvider.invokeMethod (RPCProvider.java:397
)
        at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:1
86)
        at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke (SimpleChain.java:83)
        at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at
pk.edu.niit.clarens.ClarensAxisServer.handleSoapRequest (ClarensAxisServer.ja
va:201)
        at pk.edu.niit.clarens.XmlRpcServlet.doPost(XmlRpcServlet.java:366)
        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(Application
FilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java :104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase
.java:462)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
        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(StandardValveContex
t.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.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(StandardValveContex
t.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.processConne
ction(Http11Protocol.java :705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
        at java.lang.Thread.run (Thread.java:534)
- Response contains Clarens-Content-Type header: false
-----------
- AxisFault while invoking web service:
AxisFault
faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.IndexOutOfBoundsException
faultActor:
faultNode:
faultDetail:

{ http://xml.apache.org/axis/}stackTrace:java.lang.IndexOutOfBoundsException
        at
org.lambdastation.datatypes.pbrclients.impl.PBRclientDocumentImpl$PBRclientI
mpl.setTopologyArray(Unknown Source)
        at
gov.fnal.lambdastation.util.xmlbeansAxisAdapter.Axis2XMLPBR(xmlbeansAxisAdap
ter.java:211)
        at
gov.fnal.lambdastation.services.pbrAPI.lsAPI.addPBRClient(lsAPI.java:369)
????--> at
gov.fnal.lambdastation.services.pbrAPI.lsAPI.forceUpdatePBRClient (lsAPI.java
:304)
        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
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397
)
        at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:1
86)
        at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
        at
org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:
32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at
org.apache.axis.handlers.soap.SOAPService.invoke (SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at
pk.edu.niit.clarens.ClarensAxisServer.handleSoapRequest(ClarensAxisServer.ja
va:201)
        at pk.edu.niit.clarens.XmlRpcServlet.doPost (XmlRpcServlet.java:366)
        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 (Application
FilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:462)
        at
org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContex
t.java:102)
        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(StandardValveContex
t.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.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(StandardValveContex
t.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.processConne
ction(Http11Pro


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to