facebook

Cannot create Java Web Service Client with .NET Service

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #310835 Reply

    Mork
    Participant

    I get this error when I try to reverse engineer a JAX-WS (Java 1.6) client in MyEcilpse against a .NET Web Service (using the WSDL address):

    “WS-I (BP2402) The wsdl:binding element does not use a soapbind:binding element as defined in section “3 SOAP binding.” of the WSDL 1.1 specification.”

    I’ve seen postings of this problem, but never a solution.

    Is there a known work around for this apparent incompatibility or am I safe to just ignore the error when reverse engineering the WS Client from the WSDL?

    So far, I have not been able to create the delegate method so I’m thinking this error cannot “safely” be ignored.

    Isn’t it possible for MyEclipse to just “fix” this SOAP problem when it reverse-engineers the WS client or is this a more serious Microsoft lax standards adherence as I’ve read on some postings?

    (This is happening in MyEclipse 8.6)

    What to do?

    Thanks in advance for your help.

    — M

    #310859

    support-joy
    Member

    M,

    Can you please send the wsdl file? This will help us investigate this issue.

    Best.

    #310870

    Mork
    Participant

    Hello Joy,

    I would have to send the WSDL via email since it’s proprietary.

    What is the best email address to send this file?

    Thanks.

    – M

    #310871

    support-joy
    Member

    M,

    Please send it to support[at]myeclipseide[dot]com. Include the above weblink for reference and add ATTN:Joy in the subject. This would ensure quick tracing.

    Thanks

    #310872

    Mork
    Participant

    OK, as soon as I get the OK from the client, I’ll send it to you.

    Thanks Joy.

    #310990

    support-joy
    Member

    Hi Mork,

    Thank you. Brian is following up with you on ticket.

    #310991

    Mork
    Participant

    Thanks Joy!

    I appreciate your reply.

    #311969

    jthomas8
    Participant

    I’m having the same problem. Joy, can you please update this thread with your findings? Thank you

    #312090

    support-joy
    Member

    Thomas,

    The issue reported by Jim was related to 2 bindings in the WSDL file, a SOAP binding and a SOAP1.2 binding, the latter not being compliant wiht the WS-I basic profile. There is a service class generated which contains some javadoc at the top explaining how to use the service:
    Quote
    * Service service = new Service();
    * ServiceSoap portType = service.getServiceSoap();
    * portType.isTradeStatusReasonOption(…);
    Unquote

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Cannot create Java Web Service Client with .NET Service

You must be logged in to post in the forum log in