FORUMS


Discussion about Intalio|BPP Community Edition.


Back to Intalio|BPP 6.0 beta (0 viewing) 
Go to bottom Favoured: 0
TOPIC: Re:incorrect path to the XSD schema in WSDL file
Jun 23, 2009 3:53 pm
gemor.roj (User)
74 posts
Senior Boarder

Karma: 0  
Hello.
After Web-Service import from the Intalio server it gives us invalid WSDL. In the detailed problem research we had found that incorrect path to the XSD schema is generated.
 
  The administrator has disabled public write access.
Jun 23, 2009 4:03 pm
Antoine (Admin)
2755 posts
Admin

Karma: 58  
The workaround is to edit the WSDL when importing it to resolve the XSD.

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Jun 24, 2009 1:36 am
hmalphettes (Admin)
53 posts
Admin

Karma: 8  
Hi there,

In fact when you use a url that ends with ?wsdl , axis2 is re-publishing the wsdl that was deployed by designer.
Unfortunately axis2 rewrite the wsdl and changes it in a manner that does not work.

To be able to import the wsdls that are deployed you must not use a url that finishes with axis2.
Instead you must navigate to the wsdl file via this url:
http://localhost:8080/ode/deployment/bundles

Unfortunately this feature is broken in the 6.0-beta3.
It is available in 5.2.1 and more recent 5.2.*

As an alternative you can access the files in the build folder of designer:
these files are deployed as is in the server.

I hope this helps,
Hugues.
 
  The administrator has disabled public write access.
Jun 24, 2009 4:23 pm
bmr (User)
7 posts
Fresh Boarder

Karma: -1  
Does this mean that it's impossible to call a web service from Javascript in the current beta?

I've tried both URI schemes as follows:

  • http://localhost:8080/ode/processes/towns/gertcounties?wsdl

  • http://localhost:8080/ode/deployment/bundles/towns/processes/gertcounties.sql.wsdl


  • (gertcounties is a typo when I created the service, but I didn't bother changing it, it is the correct name)


    I get server exceptions in both cases:

    using http://localhost:8080/ode/processes/towns/gertcounties?wsdl
    Code: :

     Retrieving document at 'file:/C:/intalio/intalio-bpms-6.0.0.071/var/config/../deploy/towns/connectors.database/gertcounties.sql/gertcounties.sql.wsdl'. Retrieving schema at 'gertcounties.xsd'relative to 'file:/C:/intalio/intalio-bpms-6.0.0.071/var/config/../deploy/towns/connectors.database/gertcounties.sql/gertcounties.sql.wsdl'. 14:46:05,453 WARN  [ODEAxisServiceDispatcherNo service has been found! 14:46:05,468 ERROR [AxisEngineThe service cannot be found for the endpoint reference (EPRhttp://localhost:8080/ode/processes/towns/gertcounties/ org.apache.axis2.AxisFaultThe service cannot be found for the endpoint reference (EPRhttp://localhost:8080/ode/processes/towns/gertcounties/         at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)         at org.apache.axis2.engine.Phase.invoke(Phase.java:334)         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)         at java.lang.Thread.run(Thread.java:619)




    using http://localhost:8080/ode/deployment/bundles/towns/processes
    Code: :

     14:52:15,734 WARN  [QueryMessageReceiverSQL query request processing failed with message for service towns/gertcountiesoperation gertcounties :null java.lang.NullPointerException         at com.intalio.bpms.connector.jdbc.runtime.service.QueryRequestMessage.parse(QueryRequestMessage.java:97)         at com.intalio.bpms.connector.jdbc.runtime.service.QueryRequestMessage.<init>(QueryRequestMessage.java:82)         at com.intalio.bpms.connector.jdbc.runtime.service.QueryMessageReceiver.invokeBusinessLogic(QueryMessageReceiver.java:54)         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)         at java.lang.Thread.run(Thread.java:619) 14:52:15,750 ERROR [AxisEnginenull org.apache.axis2.AxisFault         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)         at com.intalio.bpms.connector.jdbc.runtime.service.QueryMessageReceiver.invokeBusinessLogic(QueryMessageReceiver.java:72)         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)         at java.lang.Thread.run(Thread.java:619) Caused byjava.lang.NullPointerException         at com.intalio.bpms.connector.jdbc.runtime.service.QueryRequestMessage.parse(QueryRequestMessage.java:97)         at com.intalio.bpms.connector.jdbc.runtime.service.QueryRequestMessage.<init>(QueryRequestMessage.java:82)         at com.intalio.bpms.connector.jdbc.runtime.service.QueryMessageReceiver.invokeBusinessLogic(QueryMessageReceiver.java:54)         ... 21 more




    Javascript call attached.
    File Attachment:
    File Name: jstest.zip
    File Size: 13509
     
     
    Last Edit: 2009/06/24 16:24 By bmr.
      The administrator has disabled public write access.
    Jun 24, 2009 4:32 pm
    hmalphettes (Admin)
    53 posts
    Admin

    Karma: 8  
    Hi,
    the second solution did go a step further and passed the wsdl and schema resolution: axis2 did invoke corectly the service.
    The errors you report in the second case seem to be an issue with the configuration of the database-connector.
    Hugues
     
      The administrator has disabled public write access.
    Jun 24, 2009 8:11 pm
    ssivan (User)
    22 posts
    Junior Boarder

    Karma: 4  
    Hi,
    Before calling the getcounties service from the server, just verify whether it has been deployed correctly.
    I guess when you created the database connector for getcounties.sql, you would've choosen for feed option
    instead of service.
    try by recreating the connector as a service.It may solve your pbm.
    You can call the dotNET webservice using javascript & webservice.htc file.Here it wont work...

    To check whether service has been published in the server:
    ------------------------------------------------------------------------
    Go to http://localhost:8080/ode/
    Click on Services link then Process Services and check the list of services available

    It should show like this
    towns/getcounties
    Endpoint: http://localhost:8080/ode/processes/towns/getcounties
    Operations: getcounties


    Thanks...
     
     
    Last Edit: 2009/06/24 21:50 By ssivan.
      The administrator has disabled public write access.
    Go to top Post Reply
    get the latest posts directly to your desktop

    Top Posters

    Last 30 days

    • yodjeu.ntemde.leopold.camille (21)
    • Konstantin.Melnik (8)
    • himar.rodriguez (8)
    • amrrao1975 (6)
    • rakesh.db (6)
    • jaime.penafiel (5)
    • andre.van.der.ark (5)
    • andreas.boehm (5)
    • blue.moon (5)
    • estebanf (4)

    All time

    • Antoine (2755)
    • Shivanand (1194)
    • cshekhar (933)
    • psq (797)
    • metabyte (415)
    • jag (393)
    • dfrench (367)
    • arnaud (329)
    • jalateras (325)
    • talita.pezzi (261)

    Show last 4 hrs - 12 hrs - 24 hrs

    Copyright © Intalio, 1999-2010.