• Register Now
  • Forgot Password?
Intalio
  • Product
  • Services
  • Partners
  • Customers
  • Community
  • Company
  • Documentation
  • Discussions
  • Roadmap
  • Events

Discussions


Discussions about Intalio|BPP Community Edition.


Back to Intalio|BPP 6.0 beta (0 viewing) 
Go to bottom
Post Reply
Favoured: 0
TOPIC: Re:incorrect path to the XSD schema in WSDL file
Forum Tools
  • Post New Topic
  • Show latest posts
  • Rules
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  [ODEAxisServiceDispatcher] No service has been found! 14:46:05,468 ERROR [AxisEngine] The service cannot be found for the endpoint reference (EPR) http://localhost:8080/ode/processes/towns/gertcounties/ org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://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  [QueryMessageReceiver] SQL query request processing failed with message for service towns/gertcounties, operation 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 [AxisEngine] null 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 by: 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)         ... 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.
    Oct 7, 2011 10:25 am
    mikhail.yanin (User)
    1 posts
    Fresh Boarder

    Karma: 0  
    Hello!

    I have downloaded and installed Intalio BPM Server v.6.2.4 with Axis2 v.1.5 and unfortunately have got same error.

    Do you know this problem is not fixed yet?

    Thank you!
     
      The administrator has disabled public write access.
    Go to top Post Reply
    Forum List Archived Intalio|BPP 6.0 beta
    get the latest posts directly to your desktop
     

    Top Posters

    Last 30 days

    • jean.bernard.wansi (7)
    • danny.gallagher (7)
    • niki.w (5)
    • ravinderjit.singh (5)
    • bruker.bruker (5)
    • pourdad.daneshmand (4)
    • nitha.paul (3)
    • giocarmine.gio (2)
    • noel.del.rosario (2)
    • pavel.khodchenkov (1)

    All time

    • Shivanand (1216)
    • cshekhar (933)
    • psq (797)
    • metabyte (415)
    • ravinderjit.singh (397)
    • dfrench (369)
    • arnaud (329)
    • jalateras (325)
    • talita.pezzi (279)
    • venkaiah.k (216)

    Show last 4 hrs - 12 hrs - 24 hrs

    Latest Posts

    • Re:XSD File created using Database Conn ... by nitha.paul
    • Unable to call task from WSDL. by venkatesh.sambandamoorthyv
    • Re:Error on assigning dynamic endpoints by ravinderjit.singh
    • Re:Database Connector by ravinderjit.singh
    • Re:partner link error by ravinderjit.singh

    Show last 6 hrs - 24 hrs - 7 days

    Copyright © Intalio, 1999-2012.

    • Copyright Notice |
    • Privacy Policy |
    • User Agreement