Results 1 to 3 of 3

Thread: Critical problem with JbossESB

  1. #1
    desbonns62 is offline Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Default Critical problem with JbossESB

    Hi,
    I tried to create a Jboss client for Sugar's web services. I tried many solutions but each time, I got a problem related to the soap-enc type of the web service definition.
    Here for example, when I generate classes with the jboss tool 'wsconsume':

    Code:
    D:\jbossesb-server-4.5.GA\bin>wsconsume -k http://127.0.0.1/SugarCRM/soap.php?wsdl
    JBossWS-Native stack deployed
    parsing WSDL...
    
    
    [WARNING] src-resolve: Cannot resolve the name 'SOAP-ENC:Array' to a(n) 'type definition' component.
    
      line 39 of http://127.0.0.1/SugarCRM/soap.php?wsdl#types?schema1
    
    [ERROR] undefined simple or complex type 'SOAP-ENC:Array'
      line 39 of http://127.0.0.1/SugarCRM/soap.php?wsdl
    
    [ERROR] undefined attribute 'SOAP-ENC:arrayType'
      line 40 of http://127.0.0.1/SugarCRM/soap.php?wsdl
    
    [ERROR] undefined simple or complex type 'SOAP-ENC:Array'
      line 52 of http://127.0.0.1/SugarCRM/soap.php?wsdl
    
    [ERROR] undefined attribute 'SOAP-ENC:arrayType'
      line 53 of http://127.0.0.1/SugarCRM/soap.php?wsdl
    
    [ERROR] undefined simple or complex type 'SOAP-ENC:Array'
      line 59 of http://127.0.0.1/SugarCRM/soap.php?wsdl
    
    (... many times this error ...)
    
    Failed to invoke WsImport
    java.lang.NullPointerException
            at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:23
    7)
            at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:518)
            at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:232)
            at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
            at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:120)
            at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2173)
    
            at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:1
    73)
            at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:119)
            at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:148)
            at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:217)
            at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:223)
            at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:81)
    Did someone succeeded to use web service with JBoss?
    Is "soap-enc" a standard?
    Does the wsdl will be updated in the futures versions of SugarCRM?

    Thanks for your help.
    Desbonns

  2. #2
    desbonns62 is offline Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Default Re: Critical problem with JbossESB

    does someone can help me?

  3. #3
    parhamdb is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    35

    Default Re: Critical problem with JbossESB

    Hi,
    SugarCRM's soap web service is RPC/Encoded. Java in general doesn't like RPC/Encoded and works Doc/Literal ...
    With most Java clients you'll run into problems like this.
    The only stack that i know works with SugarCRM(RPC/Encoded) is Axis.
    Off hand i don't remember which stack JBoss ESB uses and if that stack supports RPC/Encoded ...
    You gotta find out if it does, if it can be set to use RPC/Encoded or you can use Axis in the ESB.

    I did actually use JBoss ESB with sugar, we ended up creating a Rest like web service for Sugar and hook the ESB into that.

    Cheers,
    Parham

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2008-09-16, 02:25 PM
  2. Critical Performance Issue. Urgent Help Required
    By VeonConsulting in forum Help
    Replies: 11
    Last Post: 2008-04-16, 12:00 AM
  3. Missing Contacts - Critical Issue
    By naufal in forum Help
    Replies: 2
    Last Post: 2006-05-30, 09:58 AM
  4. Critical Login Issue
    By afoaf in forum Developer Help
    Replies: 2
    Last Post: 2005-05-04, 04:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •