This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Mozilla XML > May 2005 > accessing web services with Mozilla (WSDL proxying), some questions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author accessing web services with Mozilla (WSDL proxying), some questions
Merten Schumann

2005-05-11, 8:45 am

Following samples and all at http://www.mozilla.org/projects/webservices/ I
finally got my web service consumed in Mozilla 1.7.7 :-) A web services
client implementation within the web browser, pretty cool stuff IMHO! In
conjunction with LiveConnect (access functionality implemented in Java) nice
things can be done, all within the HTML/JavaScript page itself :-)

Now I tried my sample from Firefox (1.0). Just get "failure loading". I have
not investigated yet what exactly happens, just want to make sure: could it
be, that the "Mozilla web services implementation" is NOT available in
Firefox???

Then it seems I do not need this "web-scripts-access.xml" to put in my web
server's doc root. But maybe this is only due to the fact that my URL is
something like "..localhost..".

The asynchronous programming technique is, let's say, interesting. :-) Is
there a synchronous way planned? And will this web services implementation
be "supported" in the future or is the project dead?

BTW: I tried to build my HTML/JavaScript stuff in a way that both Mozilla
and IE (web services behaviour) could be used as clients. Well, the IE stuff
seems to be in a unuseable state, I couldn't manage to get simplest WSDL
processed by the beast. I think they hard-coded some namespace stuff there
which is obviously only working against .NET or so.

Thanx
Merten


Martin Honnen

2005-05-11, 7:35 pm



Merten Schumann wrote:

> Following samples and all at http://www.mozilla.org/projects/webservices/ I
> finally got my web service consumed in Mozilla 1.7.7 :-) A web services
> client implementation within the web browser, pretty cool stuff IMHO! In
> conjunction with LiveConnect (access functionality implemented in Java) nice
> things can be done, all within the HTML/JavaScript page itself :-)
>
> Now I tried my sample from Firefox (1.0). Just get "failure loading". I have
> not investigated yet what exactly happens, just want to make sure: could it
> be, that the "Mozilla web services implementation" is NOT available in
> Firefox???


It is available, whether you use Firefox or the Mozilla browser.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Merten Schumann

2005-05-12, 4:22 am

"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:d5tgla$n792@ripley.netscape.com...
>
>
> Merten Schumann wrote:
>
http://www.mozilla.org/projects/webservices/ I[color=darkred]
nice[color=darkred]
have[color=darkred]
it[color=darkred]
>
> It is available, whether you use Firefox or the Mozilla browser.


Thank you, Martin. Found my fault, I tested with Firefox from a remote box
but had the WSDL URL set to "localhost..."
Merten


Martin Honnen

2005-05-12, 7:43 pm



Merten Schumann wrote:
> Following samples and all at http://www.mozilla.org/projects/webservices/ I
> finally got my web service consumed in Mozilla 1.7.7 :-) A web services
> client implementation within the web browser, pretty cool stuff IMHO!


> BTW: I tried to build my HTML/JavaScript stuff in a way that both Mozilla
> and IE (web services behaviour) could be used as clients. Well, the IE stuff
> seems to be in a unuseable state, I couldn't manage to get simplest WSDL
> processed by the beast. I think they hard-coded some namespace stuff there
> which is obviously only working against .NET or so.


How is you web service implemented, with Java? I have had a look at
client side cross browser web service proxying some months ago but gave
up rather soon as there are lots of web services done with .NET but the
Mozilla proxying does not deal with those services.


--

Martin Honnen
http://JavaScript.FAQTs.com/
Merten Schumann

2005-05-13, 7:28 am


"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:d5vmf2$k3a4@ripley.netscape.com...
>
>
> Merten Schumann wrote:
http://www.mozilla.org/projects/webservices/ I[color=darkred]
>
Mozilla[color=darkred]
stuff[color=darkred]
there[color=darkred]
>
> How is you web service implemented, with Java? I have had a look at
> client side cross browser web service proxying some months ago but gave
> up rather soon as there are lots of web services done with .NET but the
> Mozilla proxying does not deal with those services.


Yes, Java, JAX-RPC (servlet). WSDL generated by Axis java2wsdl.
Absolutely simple, only strings as parameter and return types. No complex
types at all.
The WSDL I used for my tests is rpc/enc right now. I'll have to check
rpc/lit and doc/lit later. I guess the document style one will not work in
Mozilla.
Merten


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews