Hi,
I'm trying to write a service in axis that can service the new research pane
in office 2003. The api for the pane is very simple. There are two methods,
Registration and Query, both of which take a string with xml and return a
string with xml.
No matter what I try, office doesn't like what I'
Would you mind posting some of your caching code?
Steve...
>>> [EMAIL PROTECTED] 07/30/03 16:45 PM >>>
Hi,
I just wanted to share some insight we have had with some performance
testing of web services sitting on top of Axis.
Based on the initial analysis carried out the majority of the time s
Hi,
I just wanted to share some insight we have had with some performance
testing of web services sitting on top of Axis.
Based on the initial analysis carried out the majority of the time spent on
the client side when invoking web services is in the method
YOUR_SERVICE_STUB.createCall(). This i
Title: Need WSDL for this SOAP message
One other point:
If you want to use "wrapped" then the operation
name must be the same as the input message name:
If the operation name isn't the same as the input
Title: Need WSDL for this SOAP message
Ah, but this isn't correct. When using doc/literal,
your message definitions must reference an element definition
rather than a type definition.
So in your section you also need to
define an definition for each message part. It should look like
th
I cannot get unbounded elements to work correctly. After generating Java
bindings from the WSDL (using WSDL2Java) I am able to deploy the service and
run it. However, when a client accesses the service, the response is invalid
and the client fails (I've tried several different clients with the same
There's another forum where you need to ask this -
http://groups.yahoo.com/group/jsr110-eg-disc/
Thanks,
dims
--- Steve Pannier <[EMAIL PROTECTED]> wrote:
> We are using Axis 1.1, and we use the "Java2WSDL" tool to create WSDL
> describing our already-existing services. We now want to include in
On the client, I am simply using the stub classes that were auto generated
by WSDL2Java. Is there a problem in this auto generated code that I need
to make manual modifications to it? On the server, I am simply deploying
the implementation classes that were also auto generated by WSDL2Java.
What
RE: wrapped servicesSome further reading on "wrapped" services:
http://www.fawcette.com/javapro/2003_03/online/wsdl_kjones_03_10_03/default_
pf.asp
This article includes a sample WSDL file and sample code. It is based on
Axis 1.1 beta.
http://groups.yahoo.com/group/soapbuilders/message/7248
This
Are you qualifying the operation name with the target namespace
(http://repository.towertech.com/)? Some web service platforms are
quite picky about including the namespace, although I don't think that
axis usually is. However, the error message for a missing namespace
often looks like the one th
Can someone please give me a clue why I'm getting the error message "No
such operation 'name'" with one of my webservice methods. I'm getting this
problem both in Axis 1.0 and Axis 1.1 which are integrated into JBoss 3.2.1
and 3.2.2, respectively.
Here is what I have done:
1. Took two WSDL's gene
Title: Need WSDL for this SOAP message
Here
is a wsdl I used to create a doc/literal service. The WSDL is defined as usual,
with all the standard parts, no matter what style.
name="demo"
targetNamespace="http://www.tlr.bis.com/rating.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmln
Title: Message
Message just means the SOAP message is handed to your java directly
rather than decoded into arguments. It has
nothing to do with WSDL.
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/MsgSignatures
-Original Message-From: Wendy Smoak
[mailto:[EM
Hi Everyone,
I've written several deserializer classes which
extends the DeserializerImpl class. All these
classes together get called based on the typemappings
that I have defined. In that regard, all is well
and the XML gets marshalled correctly.
Although, I'd like to reuse this deserializ
Title: RE: wrapped services
Anne wrote:
> If you're building a service agent in Axis, then you can use java2wsdl
> to generate the WSDL file, although there are still some bugs in this process.
> (The design center for doc/literal assumes that you start with a WSDL file.
> I think this is an
Title: Need WSDL for this SOAP message
This is from the Axis Users Guide, in the section explaining the difference between Document and Wrapped services:
http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
http://commerce.com/PO"
I forgot to say that the bean mapping goes in your deployment descriptor in
the deploy section outside of the service section. Meaning
...
On Wednesday 30 July 2003 02:51 pm, List Man wrote:
> If you are getting this error on the server side you prob
If you mean you want to use the built in BeanSerializer on the client side
then all you have to do is register the bean in the call with a serializer
and push it down. Eg:
Call = Service.getCall();
Call.setTargetEndPoint("http://middle.of.nowhere/service";);
//Begin what I think you want to kn
If you are getting this error on the server side you probably need a bean
mapping like so.
On Wednesday 30 July 2003 04:42 am, Kareem Ghazal wrote:
> Hello,0
>
> I'm using the IBM's WSDK which uses axis. I figured out how to set the
> serializer/deserializer on the client by getting hold of the
Hi Marcia,
I just installed axis couple of days ago, so I am new, too. Correct me if I
am wrong, but I believe the AdminClient class is in axis.jar and I don't
think you need to have soap.jar in your classpath for axis to work. I think
soap.jar belows to the SOAP project.
Shannon
-Original M
If you are sending simple types, then you don't have to define them in the
section, but you'll have to use rpc/encoded in the soap:header
definition.
Anne
- Original Message -
From: "Steve Pannier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 4:22 PM
Subject
We are using Axis 1.1, and we use the "Java2WSDL" tool to create WSDL
describing our already-existing services. We now want to include in the
generated WSDL a description of the Soap headers we support. I know
of no way for Axis's "Java2WSDL" to do this, so I am currently looking at
using the WSD
Hi Folks,
I'm a newbie, thrashing about and reading these posts before asking my
own questions. This helped me out so I'm checking my classpath.
QUESTION: I see that Steve Pruitt's classpath has the soap.jar in
tomcat's common/lib directory. I am using Tomcat v4.1.24 and I do NOT
have a soap.
Actually, that wasn't me. It was the original poster (Sam) who
said it. I was continuing the thread because it addressed the
problem I'm encountering. I probably should have started a
new thread to avoid confusion, or indicated in my original post
what my situation is. My bad.
At any rate, giv
Steve,
You said initially that you want your authentication header to look like
this:
This is a complex structure, therefore it must be defined in the
section.
Anne
- Original Message -
From: "Steve Pannier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 3
Ann,
Thanks for the response. Here's my dilemma:
We are using Axis 1.1, and we use the "Java2WSDL" tool to
create WSDL describing our already-existing services. We
now want to include in the generated WSDL a description of
the Soap headers we support. I know of no way for Axis's
"Java2WSDL" to
Title: Java2WSDL: Can't user Java interfaces in method sigs?
I'm trying to expose this method as a web service:
public String subscribe(Subscription sub);
Subscription is an interface, and there's a SubscriptionImpl implementation. The interface just has the get/set methods, and Subscr
This is a list that has lots of activity but one's stuck with it for life.
I've been a victim of unsuccessful unsubscription for six months.
REWARD:
A Jackson shall be sent to the rightful person that unsubscribes me
from this god forsaken organization. Please include address herein.
Undersigne
Title: RE: wrapped services
Yes and no. The normal programming model for .NET
is an RPC-style invocation -- and that's regardless of whether the message is
formatted using doc/literal or rpc/encoded. The really important thing to grok
here is that the application program really shouldn't be c
Axis doc/literal works with both message style and rpc style services. The
message vs. rpc attribute refers to the "provider", which is a WSDD
attribute. It indicates whether or not Axis should marshal/unmarshal the
message for you. If you use "message", then Axis passes the message payload
as XML
Per the WSDL spec, the soap:header element [1] is constructed as follows:
*
The message="qname" and part="nmtoken" attributes refer to a message
element [2], and you must define that message .
*
*
The wsdl:part requires either an element or a type attribute. If you were
sending
Title: Problem with Java2WSDL
I ran into a small problem with Java2WSDL. The -C switch, for which the usage says...
-C, --importSchema
A file or URL to an XML Schema that should be physically imported into the generated WSDL
...doesn't seem to work with a file. At least, if I just give
Probably the easiest way to handle this is by setting use-servlet-security
to true in the AxisServlet init-params in web.xml.
If you need to implement your own authentication and just want to use HTTP
authentication to access the username and password, in your
AuthenticationHandler raise an Axis
Greetings,
I've written an Axis client/service pair that uses "soapConnection.call()" to
send SOAP attachments to the service, along with parameters specifying input and
output mime-extensions. The client will not know the actual mime-type of the
response attachment that the server will return aft
Title: RE: wrapped services
So the "wrapped" style is intended to emulate RPC over doc/literal --
no? And, frameworks like Axis have to work off assumptions that the data
coming in will not only be a complexType, but also have a name ==
"parameters"?
Cory
-Original Message-From:
Title: RE: wrapped services
You might find this link a little more
enlightening:
http://msdn.microsoft.com/library/default.asp?url="">
.NET supports two ways to generate the schema for
doc/literal messages:
- bare
- wrapped
In bare, the generated definition
contains a different element
Title: Secret handshake for mail list unsubscribe
Can anyone tell me the secret for unsubscribing from the axis user mail list.
Yes, yes - I followed the instructions I received when I first subsribed to the list. I also sent mail to the list owner to no avail.
Thanks.
--doug
A couple questions:
1) Do you have any examples of doing this programmatically using the WSDL4J
API?
2) Why do I need to add stuff to the "types" and "part" sections of the
WSDL? The spec only mentions
the soap:header element in the binding input section when talking
about Soap Header suppo
Title: RE: wrapped services
Wendy,
Document/literal means that you have defined a
schema element definition for the SOAP message (the contents of soap:body) and
that the message conforms to that schema.
RPC/encoded means that you have defined the types
of the message elements that you wi
Is there any documentation on authenticating users in AXIS via http? I
see the HTTPAuth class, but I have no idea how it works and I cant find
any documentation.
Thanks
--
Marc Boorshtein <[EMAIL PROTECTED]>
OctetString
My apologies to the list. I found my problem in record time. Only two minutes after
hitting the send button.
:>(
Yes, its been one of those days. I wish I could have retracted that post. I found my
error about five minutes after hitting send. With a distinct possibility of
committing th
I dug in the source and noticed that the response headers are not
"automatically reflected back into the stub list". This seems
to be a change. How would I get the response headers then?
Why was this changed from RC1?
-Original Message-
From: Yakulis, Ross (Ross)
Sent: Wednesday, Jul
Yes, its been one of those days. I wish I could have retracted that post. I found my
error about five minutes after hitting send. With a distinct possibility of
committing the same sin. I still have a class path problem trying to install the same
service, only now its
Exception in thread "m
Title: RE: wrapped services
It'll be nested elements...have no fear, as far as your asp SOAP stuff
goes, give me a bit -- I generated the same thing last night but didn't save it
;)
Cory
-Original Message-From: Wendy Smoak
[mailto:[EMAIL PROTECTED]Sent: Wednesday, July 30, 2003
Thanks Jeff.
I don't think that it is a good solution by Axis, but soi.
remko
Jeff Greif wrote:
If I understand correctly, you're not doing anything wrong. I believe Axis
is only supposed to register the existence and location of this imported
file, and to use it if it needs to. Similarl
Title: RE: wrapped services
Davanum Srinivas [mailto:[EMAIL PROTECTED]] wrote:
> Not really - http://msdn.microsoft.com/library/default.asp?url="">
Okay, I read it, but I don't understand what it means. "Wrapped" is the default. And that means, "Parameters sent to and from an XML Web serv
No, it's not. Navigate to the exact directory path in your classpath
and you'll find you are missing the WEB-INF dir.
-Original Message-
From: Steve Pruitt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 10:16 AM
To: [EMAIL PROTECTED]
Subject: AdminClient not found
All,
Runni
If I understand correctly, you're not doing anything wrong. I believe Axis
is only supposed to register the existence and location of this imported
file, and to use it if it needs to. Similarly for any client code that
reads the wsdl. The human reader has to find it manually and look at it.
Jef
Title: RE: wrapped services
Cory wrote:
> I'm curious as to what the under-pinnings of a message style service are?
Do you mean the code inside the method that ultimately gets called? I'm currently planning to use JDOM to work directly with the XML.
> When the service is described via wsdl
Problem/Question:
when Axis generates the wsdl for my webservice, whose wsdl contains an
it doesn't 'expand'/or import the reference, but merely
reprints the import statement.
Am I doing something wrong, or is this the (in my opinion, if so, not
very practical) preferred method??
I am using an
This thread is getting hairy:
1. If Axis is given a doc/lit WSDL (that isn't implemented as wrapped by virtue of
anonymous complex types and "parameters" in the message element) and you run wsdl2java
on the thing...what will the behavior be.
2. Inversely, if I have a Java class and wan't to e
I can not give you any definitive answers, only observations.
If all class files are located properly in axis/WEB-INF/classes/
when the axis servlet starts, then one should not get an
java.lang.reflect.InvocationTargetException.
If your application classes are not in the right package path or
Not really -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebservicesprotocolssoapparameterstyleclasstopic.asp
-- dims
--- Krzysztof Swietlinski <[EMAIL PROTECTED]> wrote:
> I think doc/lit is the only mode supported by WS-I
> Basic Profile 1.0, so it's n
I think doc/lit is the only mode supported by WS-I
Basic Profile 1.0, so it's not only MSFT.
Also Sun's JAX-RPC 1.1 is doc/lit by default (as
opposed to v. 1.0).
I think you can use the same doc\lit WSDL to have
either one of Document/Wrapped/Message service
depending what you want Axis to do for
All,
Running...
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
I get...
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/client/AdminClient
AXISCLASSPATH is defined...
AXISCLASSPATH=C:\jakarta-tomcat-4.1.24\webapps\axis\lib\axis.jar;C:\jak
Thank I found the responseFlow mapping last night, now it gets called on both the
request and response. However, I do Not see the SOAP header on the client side.
In the code below I should see the header set on ther server side in "h".?
CountServiceLocator locator = new CountServiceLocator();
Title: RE: wrapped services
Wendy,
I'm curious as to what the under-pinnings of a message style service
are? When the service is described via wsdl, surely it's doc/lit?
Else I could be handed an envelope whose contents can't be validated
against a given schema.
The default microsoft im
Title: RE: wrapped services
> From what I can gather -- wrapped services are simply a clever hack
> to buy me rpc-like functionality via a doc/literal service?
> Seems like a dangerous leg to stand on considering that it's not
> standard (regardless of msft defaults ;)) and the interpretat
All,
>From what I can gather -- wrapped services are simply a clever hack to buy me
>rpc-like functionality via a doc/literal service? Seems like a dangerous leg to
>stand on considering that it's not standard (regardless of msft defaults ;)) and the
>interpretation of what represents a wrappe
Something like this:
http://${aws.host}:${aws.port}/
${aws.context.root}/servlet/AxisServlet"/>
Hi,
If anyone could give me a quick howto on how to use the
org.apache.axis.encoding.ser.BeanSerializer class to marshall a java instane
to an xml file I would appreciate.
Thanks for any hints
- David
Can i deploy a webservice inside a war file?
If so what all do files do i need? ie.
web-service.xml/web.xml/server-deploy.xml ... etc (along with sample
content please)
harsh
Ross - the documentation states that SimpleSessionHandler needs to be mapped into both
the request and response flows on the server. Because you haven't mapped the handler
into the response flow, the doServer code for when context.getPastPivot() == false
will never be executed which is critical
Maybe you need instead of as you seem to be passing a
complete command line in.
Keith
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 30 July 2003 11:32
To: [EMAIL PROTECTED]
Subject: AXIS & ANT
Hi,
I want to deploy the AXIS-Webservice via ANT. Here I hav
Hello, I'm using the IBM's WSDK which uses axis. I figured out how to
set the serializer/deserializer on the client by getting hold of the
TypeMappingRegistry and then register the serializer/deserializer for the class
I want to send, but now I'm getting this exception:SAXException:
Deseria
Hi,
I want to deploy the AXIS-Webservice via ANT. Here I have an error:
deploy:
[echo] running: java org.apache.axis.client.AdminClient
-lhttp://localhost:8080/IKWSHandler/ser
vices/AdminService conf/deployment/banf-ws-deployment.wsdd
[java] Usage: AdminClient [Options] [list | ]
i finally figured out why i was getting that error though i still dont
know why!
my webservice was under
axis/WEB-INF/classes/org/hope/
and my class was under
axis/WEB-INF/classes/org/acme/
i redeployed my webservice so that the class and the webservice were
under the same directory (and chan
Hi axis-users,
I am trying to map an xml instance document to axis generated classes using
castor ( http://castor.exolab.org/ ).
I have the problem that autogenerated classes from simple types in the schema
definition do not have a default public constructor with no arguments but
castor
Hi all,
I've wrote my own EngineConfigurationFactory and EngineConfiguration implementation.
Now, how can i plug them into Axis Engine?
I've tried with META-INF/services/org.apache.axis.EngineConfigurationFactory as
written in EngineConfigurationFactoryFinder, but it seems that doesn't work. Engin
Were there any answers to this question about the skel and impl
classes? I have exactly the same question.
Even when using the skeleton the request is still routed to the
impl class. So I see no difference in the end result.
Ta.
Stuart.
Help.
when i tryed to get the AxisEngine with AxisEngine en = server.getEngine()
it doesnt work.
I want to deploy an Object, so i have a reference to this Service and cn
communicate with my Application.
Is there any way to do this and does anyone can give me a example??
> Hi,
>
> can anybody t
71 matches
Mail list logo