Re: Consuming web services document style
Re: Consuming web services document style
- Subject: Re: Consuming web services document style
- From: Fredrik Lindgren <email@hidden>
- Date: Tue, 18 Dec 2007 14:27:01 +0100
Hi Oliver
As far as I can tell the service uses doc/lit. If it is wrapped I am
not sure.
I thought I could get hold of the MessageContext to set up the
parameters and to parse out the answer, however it seems that I can
not get hold of the MessageContext using the apple recommended way:
MessageContext message_context = MessageContext.getCurrentContext();
It always returns null!
It sounds as you do not at all use the WOWebServiceClient classes.
But you are using axis, am I right?
What classes did you have to patch?
Regards,
/Fredrik
17 dec 2007 kl. 22:53 skrev Oliver Egger:
Hi Fredrik
What kind of document style webservice do you want to use? We use
doc/lit/wrapped
style so that both java and .net client can talk to our server
application and it works very
well for us. For design reason we went with a "WSDL First" approach.
Describe the
interface in WSDL an then generate with the supplied Axis tool the
server skeleton (beans), so we
didn't want to expose any webobjects java classes and/or types and
programmed the bridge between
the webobjects classes and the beans. We had to "patch" two 2
webobjects classes because axis 1.x was not working with
java5/Webobjects 5.3 and a deployment directly with doc/lit/wrapped
was not possible with 5.3 (maybe with 5.4 possible now?)
Maybe webservices are slow and cumbersome, but if you have once a
working setup you can generate
services faster then webpages ...
Cheers,
Oliver
On Dec 17, 2007 8:38 PM, Fredrik Lindgren <email@hidden> wrote:
17 dec 2007 kl. 20:24 skrev Georg Tuparev:
On Dec 17, 2007, at 8:09 PM, Fredrik Lindgren wrote:
Hello List!
I have searched the web and read through all mails in this list
regarding
consuming a webservice with document style. The Apple
documentation really
does not help at all.
All mails regarding this subject seems to go unanswered!
I hope someone out there has some info on how to use a document
style web
service?
The ultimate would be a guide with examples!
I have done web services RPC style both client and server without
problems.
So I have some experience, however i am totally stuck on how to
interpret
and create the document, and how to handle the result.
Any suggestions? Any pointers?
What do you want to achieve? Often there are easier ways. I do now
recommend
WebServices if there is a way around them. They are complex,
messy, slow,
and have huge overhead. We use them in our banking software, but only
because we had too.
cheers
gt
I am sorry to say that I have a client that uses a document style
webservice
so that is why i am bound to using that...
/Fredrik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden