cancel
Showing results for 
Search instead for 
Did you mean: 

Test request - conplex xsd

Highlighted
Occasional Contributor

Test request - conplex xsd

I have a problem with i create a new step: Test request.

the steps are:

- the tool generate a automatic request (xsd).
- the endpoint is http://localhost/... ( mockservice)
- submit request
-  response --> OK
- modify endpoint to specific url : http://maq:port/.. ( web service )
- submit request
- response --> fault
- modify xsd request by xml request
- submit request
- response --> OK

the problem maybe because some nodes are very complex, wsdl example:

...

...











thanx alot!!!

Javier
3 REPLIES 3
Highlighted
Super Contributor

Re: Test request - conplex xsd

Hi Javier..

hmm.. it's hard to say.. I have 2 questions:

1) can you show the fault message you are getting back from your webservice?
2) What modifications are you making in "modify xsd request by xml request" to get your request working?

regards!

/Ole
eviware.com
Occasional Contributor

Re: Test request - conplex xsd

1. the fault message is:


 
     
        soapenv:Client
        java.lang.RuntimeException: Unexpected subelement aplicaciones
       
            org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected subelement aplicaciones
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:381)
at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.invokeBusinessLogic(ITG_ControlProcesosMessageReceiverInOut.java:163)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement aplicaciones
at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.fromOM(ITG_ControlProcesosMessageReceiverInOut.java:468)
at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.invokeBusinessLogic(ITG_ControlProcesosMessageReceiverInOut.java:67)
... 25 more
Caused by: java.lang.RuntimeException: Unexpected subelement aplicaciones
at com.xx.xx.modelonodosyprocesos.model.xsd.Aplicacion$Factory.parse(Aplicacion.java:749)
at com.xx.xx.modelonodosyprocesos.model.xsd.Concentrador$Factory.parse(Concentrador.java:741)
at com.xx.xx.modelonodosyprocesos.model.xsd.Aplicacion$Factory.parse(Aplicacion.java:765)
at com.xx.xx.modelonodosyprocesos.model.xsd.ParametrosEjecucion$Factory.parse(ParametrosEjecucion.java:903)
at com.xx.xx.modelonodosyprocesos.model.xsd.Proceso$Factory.parse(Proceso.java:438)
at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.types.EjecutaProceso$Factory.parse(EjecutaProceso.java:303)
at com.xx.ame4t.itg.controldeprocesos.interfaz.itg_controlprocesosservicio.ITG_ControlProcesosMessageReceiverInOut.fromOM(ITG_ControlProcesosMessageReceiverInOut.java:399)
... 26 more

       

     

 


2.sorry, i'd want to say: "change xsd request by xml request".
for example:






...


NODO_PRUEBA_C


2007-06-23T08:51:35.765Z
2007-06-23T08:51:35.765Z

....
....





thanx alot!!!
Highlighted
Super Contributor

Re: Test request - conplex xsd

Hi!

thanks.. but unfortunately I still do not understand what change you are making to get it to work.. could you please post or mail me (ole@eviware.com😞

1) the request that does not work
2) the modified request that works
3) the associated wsdl/schema

thanks!

regards,

/Ole
eviware.com
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors