Can I generate WSIF stubs for executing against a web service
(similar to how axis does it)? Thanks
try this:
http://soapinterop.org/xsd";
xsd:type="SOAP-ENC:Array" SOAP-ENC:arrayType="a1:LocationVo[3]">
its easier if you use wsdl to generate types and mappings.
you need it objLocations mapped to array deserializer and LocationVo
to bean serailiser
sasha
On Friday, December 6, 2
My Axis server was generating a fault with the dreaded:
"org.xml.sax.SAXException: SimpleDeserializer encountered a child element,
which is NOT expected, in something it was trying to deserialize."
For a while, I thought this had to do with the complex type the offending
method was returning. Af
I'm using AXIS 1.0 as the SOAP transport for UDDI4J registry access
operations, and everything
was working fine. When I upgraded to AXIS 1.1Beta, I got the
NullPointerException shown below
(taken from the UDDI4J debug output):
TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAx
Thanks for the message.
Even when I change "SOAP-ENC:Array[3]" to have
"http://soapinterop.org/xsd:LocationVo[3]"; it still
gives the same error. I've created TypeMappings for
Both the LocationObject and LocationVo.
LocationObject contains a name (string) and a
LocationVo[].
I've been able to
There is no type on the 's, and nothing that tells Axis what the array type is.
Have you told Axis what "objLocation" contains? Take a look at your type mappings and
the XML your are getting and see if it has all the info it needs to realize the each
array item is a complex type (not a simple
I'm using axis to connect to a PHP webservice (using
nusoap). I've included the XML response. Whenever
Axis trys to deserialize this, it generates the
following error:
org.xml.sax.SAXException: SimpleDeserializer
encountered a child element, which is NOT expected, in
something it was trying to d
Roy Wood wrote:
> new XMLSerializer().serializeToString(node);
Whoa-- using this I actually get back the text I really want, which is
not at all what I expected. I thought I'd get an XML representation of
the node.
Whoa indeed. Am I confused, or...confused? wait a second...so what you
hav
The AdminService works just fine.
The functionality that you seem to expect from Apache SOAP isn't there via a browser.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Swanson, Brion [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 2:46 PM
To: '[EMAIL PR
Ok. Thank you. I guess I'll stop trying to get it to work then. :-)
I do have a different question however. If you type the following URL into
your web browser:
http://localhost:8080/axis/services/AdminService?method=bogus
You will get a big stack trace with a few FIXMEs in it. This is more
> Is this service supposed to actually provide some administrative
> functionality like Apache SOAP 2.3 has with their Administrative client
> (deploy, list, and undeploy)?
Nope. Patches welcome.
Try http://localhost:8080/axis/services/ for a list.
--
Tom Jordahl
Macromedia Server Development
No, the server does not dereference the targetNamespace URI.
Its just a string.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Tim Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 1:34 PM
To: '[EMAIL PROTECTED]'
Subject: targetNamesapce
Hello,
I'
Greetings,
After some playing around I've gotten Axis 1.0 to show me the AdminService
WSDL as well as it's list of deployed services. However, the url:
http://localhost:8080/axis/services/AdminService simply returns:
AdminService
Hi there, this is an AXIS service!
Perhaps there will be
> new XMLSerializer().serializeToString(node);
Whoa-- using this I actually get back the text I really want, which is
not at all what I expected. I thought I'd get an XML representation of
the node.
-Roy
Hello,
I'm very new to webservices. I have some code connecting to a webservice
and I'm finding it is very slow. Looking in the WSDL I see the
targetNamespace is a url that is different from the server I have installed
on my system. I was wondering if the server actually goes out and hits the
lo
I'd said of Roy Wood's multiRef situation that
>If it's always going to be that way, with the data being in "item" tags
>which are
>actually siblings, and no "item" tags which aren't your data, perhaps
>something like
> var soapResponse = soapCall.invoke();
> // deal with fault issues, return if
I have used MS SOAP 2.0 and MS XML 3.0 (in VC++) with
Axis 1.0, and have not encounter major problem.
But, I have recently downloaded MS SOAP 3.0 Toolkit
with MS XML 4.0, and going to try it with Axis 1.1.
Has anyone tried this with success ? Is Axis 1.1
communicating well with MS SOAP 3.0 ?
Guys,
I have the following scenario.
WebLogicServer Servlet ---> Another WebLogic Server. Both
have
AXIS1.0 running on them.
Now i need to do some actions async from the 1st WL servlet.
I
suppose i can use JMS transport of Axis1.0 and publish message
so
that the JMS listeners in secon
>var nodes = soapResponse.message.getElementsByTagName("item")
> for (i = 0;i < nodes.length;i++) {
> var nodeData = nodes[i].nodeValue;
> }
Oh-- more precisely, the nodeValue is "undefined."
-Roy
>If it's always going to be that way, with the data being in "item" tags
>which are
>actually siblings, and no "item" tags which aren't your data, perhaps
>something like
> var soapResponse = soapCall.invoke();
> // deal with fault issues, return if needed
> var node= soapResponse.message.ge
Title: Message
You
can also try enabling the debug messages ( by setting system property
javax.net.debug=all ) and see where the program fails.
/Pankaj.
-Original Message-From: Stefan Carlsson
[mailto:[EMAIL PROTECTED]]Sent: Friday, December 06, 2002
12:31 AMTo: '[EMAIL PROT
Hi,
I am trying to gt up to speed on using axis to deploy a web service,
written in Java. I have followed through a couple of tutorials and, using
the WSDL utilities have seemingly correctly deployed my service, which is a
bean with two fields, a String and a Vector. All I want to do is see if
Roy Wood wrote:
I got Mozilla working by adding an "actionURI" to the SOAPCall object. ...
Now, the only complication is that I am returning back a Vector of
Strings, and can't figure out how to process them in JavaScript.
Following along the examples I've Googled, I can access the single retur
Hi Tom, thanks for the suggestion. I set the timeout to -1 and it worked.
I guess it needed more that 45seconds to finish processing the wsdl.
Bill
* Tom Jordahl <[EMAIL PROTECTED]> [2002-12-06 10:39]:
>
> Turn the timeout off (value 0 or -1) and see what happens.
>
> --
> Tom Jordahl
> Mac
It doesn't matter, except for display purposes.
Just a guess, but probably doc is produced by parsing a pretty-printed XML
text. The parser may have an option to strip ignorable whitespace (e.g.
extra spaces between attributes inside start tags, whitespace in element
content where the DTD or XML
In fact, it seems you also need to restart the web server, at leat I had
to using latest tomcat server.
When you restart it, you will see the traces saying "redploying .. to
..." as it loads all the jars it finds.
I hope I don't encounter any trouble with a class requreing a specific
order in m
I got Mozilla working by adding an "actionURI" to the SOAPCall object.
Something like this:
soapCall.actionURI = "Moof";
Now, the only complication is that I am returning back a Vector of
Strings, and can't figure out how to process them in JavaScript.
Following along the examples I've
Turn the timeout off (value 0 or -1) and see what happens.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 10:29 AM
To: [EMAIL PROTECTED]
Subject: WSDL is inaccessible
Hello everyone, I
Hello everyone, I am blocked by this one. Using a new version of the mappoint.net
wsdl file and running the WSDL2java from within ant:
I receive this:
> [java] java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL
>at the specified URL is inaccessible)!
I tried the following , but it didn't work may be I am missing something.
my code: ( this code snippet is not part of init(java.lang.Object context) of the
ServletLifeCyle interface but part of a normal configuration class)
ServletEndpointContextImpl endpoint= new ServletEndpointContextImpl(
Hi, sorry for the
big message... but I've got a fairly big problem! :}
I created some web
services with an older version of AXIS using JBuilder6 (with the web services
for java addon - using the "Export as WebService" wizard), and had some success
in getting multiple services talking to th
Greetings.
My apologies if this
has already been answered, but I have a similar problem to the one Tim was
having with the deployment of the web service. However, my problem is
after successfully "deploying" axis in Tomcat 4.1.2 I cannot deploy my own web
service (war file) in Axis. I ca
Hi,
I'm having a problem with the XML returned from a service. I have a method
that follows the Document methodName( Document doc ) pattern. It returns a
Document I build myself from a Java object using a custom writer that appends
nodes to a document element as appropriate.
The resulting XML i
AKAIK you can't do this kind of stuff with a jar.
The jws files are for very simple services (it might not even support
packages, must be default package, not so shure about this, seen it on the
list).
If you have a jar file and want to deploy it as a service, you must first
write a deployMy
How can I add a jar file to Axis and make it a web
service? Everything I've seen shows
how to take a .java file and turn it into a .jws file then dropping it in the
webapp directory. Is there a way to do this with a jar file?
Thanks
Hi all
I'm trying to write a simple custom handler using the axis book as a
reference .
in my invoke method I do the following
public void invoke(MessageContext pMessageContext ){
String service = pMessageContext.getTargetService();
System.out.prin
hmmm...
I'd like to help... but (!)...
As I said in my first mail to axis-user, I just wrote a wrapper around an
existing library, and I should not even know that axis was involved :(
I agree my co-workers (who wrote this wrapped library) should have tried to
fix that (or at least enter a bug rep
Title: Message
Yes,
you should have different keystores for server and client...
Perhaps this document may help you, even if it
primarily describes
SSL
with Axis... I used it and (after some tweeks) got everything
work
with
JWSDP... If you have any further questions I will try to
assis
Try this:
Bean1ServicePortType stub = null;
...
stub = new Bean1ServiceLocator().getBean1ServicePort();
// SET SESSION FOR THIS WEB SERVICE
((Bean1ServicePortSoapBindingStub) stub).setMaintainSession(true);
stub.setSample(jTextField1.getText());
This works for me.
I get it by mys
Title: Message
Hello,
By default HTTPS
makes authentication of webservers, which might be quite
reasonable
for standard web
applications. Since we are developing Webservices, we are interested in
authentication of our clients (or both)
I have successfully
made the client authenticate th
40 matches
Mail list logo