• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to consume a M$ .NET web service?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to consume a M$ .NET web service?


  • Subject: Re: How to consume a M$ .NET web service?
  • From: Michael Engelhart <email@hidden>
  • Date: Thu, 19 Aug 2004 10:35:31 -0500

My experience in dealing with complex types is if the .NET webservice has a WSDL document to use, use that and generate the java proxy classes using the Apache Axis WSLD2Java tool. Also I suggest downloading the current stable 1.1 release of axis and using that instead of the beta version that was included with WebObjects, UNLESS you're relying on WebObjects WebServices frameworks in which case I can't say that doing that won't break it. The documentation that WebOBjects provides is pretty skimpy on the subject and the example is pretty useless since it only works with simple types.
It's much nicer to just use full blown Java objects to build complex data types since Axis generates real classes that you then manipulate and there's almost no feeling that you're even working with a WebService.


I'm building a system that uses WebServices extensively and it's been working without a hitch. Just FYI, Web services being easy to use is extremely dependent on the provider of the service's ability to create a well designed schema. If it's too granular (which is the case with my vendor) it generates tons of proxy classes that force you to do stuff like
someWebServiceObject.getName().getValue().getStringValue().getString();


 and nonsense like that.

I haven't yet used WO to generate WSDL for complex types so I'm curious as to how well it works.

Mike

On Aug 19, 2004, at 9:56 AM, Kieran Kelleher wrote:

We want our webobjects app to be able to consume a M$ .NET web service. The .NET service takes a complex type for input and returns a complex type as a result.

Please give me some pointers as to what approach and/or java classes I should be exploring to work with this web service.

Any pointers would really be appreciated.

Thanks, Kieran

________________________________________________________________
Dev Config = OS X 10.3.4 / Java 1.4.2_03 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.4 Server / Java 1.4.2_03 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
Meet other WO Developers at http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How to consume a M$ .NET web service? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: How to consume a M$ .NET web service?
  • Next by Date: Re: Practical WebObjects by Chuck Hill
  • Previous by thread: How to consume a M$ .NET web service?
  • Next by thread: sorting output
  • Index(es):
    • Date
    • Thread