Dear Robert,
I have made sure that axis2-soapmonitor*.mar was in my modules folder
as well as axis2-soapmonitor*.jar in WEB-INF/lib.
so, should i try it with the latest nightly build or is there any other
possibility that i might do something wrong? Please comment..
Thank
Hi, Wan.
Did you modify your /webapps/axis2/WEB-INF/web.xml, too ?
I think you need to add soapmonitor servlet definition.
Regards,
--- Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
Dear Robert,
I have made sure that axis2-soapmonitor*.mar was in my modules
folder
as well as
Hello Kinichiro,
I guess, you're using RPCMessageReceiver,
True.
and generated WSDL contains return in it's types section.
No. There's no tag named return in the types section. This was also my
1st guess.
Could you post your WSDL, please ?
Here is the relevant part of my wsdl file. This is
Wan,
did you unpack the monitor applet class files (or placed them into
axis2.war) from axis2-soapmonitor-1.0.jar to your /tomcat/webapps/axis2
directory as described in the soap monitor description
(http://ws.apache.org/axis2/1_0/soapmonitor-module.html)?
--
Andreas Wagner
Hi, Wan.
Did you
Hi, Andreas.
Did you put WSDL modified by you into META-INF/ in your aar file ?
Can you see your WSDL via
http://localhost:8080/axis2/services/(your-service)?wsdl ?
I'm not sure but I think,
you can NOT overwrite WSDL when you use RPCMessageReceiver.
I never try this.
Regards,
kinichiro
---
yes, i did. It's as follow
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameApache-Axis2/display-name
servlet
servlet-nameAxisServlet/servlet-name
Hi all,
I have create a client-server which support WSRM and MTOM.
The client works, it send messages with attachment to the server. But I
want to save the attachment on my server. When I launch my client, I
have this error on my server:
java.lang.ClassCastException:
Did you put WSDL modified by you into META-INF/ in your aar file ?
Yes. It's in the the META-INF directory in the aar file.
Can you see your WSDL via
http://localhost:8080/axis2/services/(your-service)?wsdl ?
Yes. My modified file will be displayed.
I'm not sure but I think,
you can NOT
Hi,
I am using axis2 REST enabled as client and would like to set my cookie data
in the HTTP header. Is that possible?
Thanks.
--
Susanne Kaiser
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
You need to add following entry into axis2.xml
phaseOrder type=inflow
phase name=Logging/
/phaseOrder
Fabien Couble wrote:
Hi,
I'm trying to engage a module at the client side but I have the
following exception
org.apache.axis2.phaseresolver.PhaseException: Invalid phases please
Hello,
I am creating a webservice and its client. The client is sending a
DIME attachment to the service, using a DataHandler. The webservice
is receiving the DIME attachment and saves it to the file system. So
far, so good. I can even handle extremely large files. But can
anybody tell me how the
Hi,
On 7/6/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
Hi all,I think it's when I want to get the attachment I should have anOMElement but I have a OMText. But I don't understand why?
Nope... U get an OMText... Binary is represented using an OMText eventhough on the wire it is an element.
How do you create your ServiceClient?
If you use the default constructor, then the
org/apache/axis2/deployment/axis2_default.xml configuration file from the
axis2-kernel jar is going to be used instead of your adjusted axis2.xml.
To use my axis2.xml file, I created a ConfigurationContext first
Change the problematic part of saveFile() as follows...
OMText child = (OMText) attach.getFirstOMChild(); //Extracting the data and saving DataHandler actualDH; actualDH = (DataHandler) child .getDataHandler();~Thilina
On 7/6/06, Thilina Gunarathne [EMAIL PROTECTED] wrote:
Hi,
On
I create my ServiceClient like this:
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:/Program
Files/Apache Software Foundation/Tomcat 5.5/webapps/axis2/WEB-INF, null);
//Non-Blocking Invocation
sender = new
Hi Fabien
Fabien Couble wrote:
I create my ServiceClient like this:
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:/Program
Files/Apache Software Foundation/Tomcat 5.5/webapps/axis2/WEB-INF,
null);
ConfigurationContext
Hi,
This is the case here.
The WSDL and message receiver has to agree in what they do. if the
message receiver is RPC then it is a generic one and it is best that
you allow the WSDL to be auto generated. If you put a WSDL inside the
aar - then there is no such thing as the MR being automatically
Thanks Mr. Mall. I'll try this out.On 7/5/06, Manuel Mall [EMAIL PROTECTED] wrote:
On Wednesday 05 July 2006 16:19, iceal thaddeus lim wrote: Hi All, been googling, trying things out and stuff for a week now on SSL but still no success... I need help an fast. Our server operator emailed me a
Nothings changed, IIRC, with the soap monitor since the 1.0 release.
So far everyone that had problems eventually got it to work. The only
thing I can think of is that perhaps you copy and pasted the phases
from the tutorial in its entirety. Its possible the format of the
phases changed slightly.
A I'm having hard time understanding what you said... and I
totally missed the part with the slit proxy... you sound like the jwsdp
tutorial :-).
If you need to invoke a web service, you are not initially familiar
with (which was my idea of the problem) the approach should be the
That solved the problem for the input parameters but it still warns
about typemapping of the DeadLockFault exception.
The deployment descriptor is attached and it has a typemapping with
that class but when throwing the exception in the deployed service, it
generates a general server error instead
Robert,
can you please send the file which is running properly..for me, because i
have try install the newest nightly build and run, i got the same result. I
think it's probably because of i did something wrong on the configuration.
Your file could help me as example.
greatly appreciated,
Thx for your response, but there's still a problem.
I add your command:
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:/Program
Files/Apache Software Foundation/Tomcat 5.5/webapps/axis2/WEB-INF,
C:/Program Files/Apache Software
It'll be a few hours cuz it's 7am in Brazil and I haven't got to the
office yet ;-) .
Robert
http://www.braziloutsource.com/
On 7/6/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
Robert,
can you please send the file which is running properly..for me, because i
have try install the newest
thank you,
no problem
Wan
From: robert lazarski [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: [Axis2 v1.0] soapmonitor, how to use
Date: Thu, 6 Jul 2006 07:19:11 -0300
It'll be a few hours cuz it's 7am in Brazil and I haven't got to the
office
dear kinichiro,
i have tried, i can see the SOAPMonitor applet but the SOAPMonitor
doesn't catch any message and when i try to engage the module through the
administration page. I got this:
Invalid phases please recheck axis2.xml soapmonitorPhase for the handler
InFlowSOAPMonitorHandler
Hi, Wan.
I don't think you need to engage anything, because I didn't.
Does applet started ?
You can start or stop soap monitor by button on the under left.
Can you see The SOAP Monitor is Started message on your applet ?
And try
http://localhost:8080/axis2/rest/version/getVersion
with another
yes, i can see the start and stop button and it's now started.
so can i just make the client call to server, and then soap should be appear
right?
nothing appear on my applet.
Wan
From: Kinichiro Inoguchi [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
i don't know how is this happened? but there is nothing appear on my applet.
Wan
From: Kinichiro Inoguchi [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: [Axis2 v1.0] soapmonitor, how to use
Date: Thu, 6 Jul 2006 04:38:21 -0700 (PDT)
Yes,
just
Let me try to understand where you're at now. You have the phases
working correctly, ie, no more errors. And you can press the start
button of the applet. However, you have no messages in the applet. Is
this correct?
My guess is that you're not calling the WAR you think you are, but
that's just
You can use jmeter to send this exact message, and then you'll have a response.
How to do that programatically is a much bigger question. Do you have a wsdl ?
HTH,
Robert
http://www.braziloutsource.com/
On 7/5/06, Bruno Negrao [EMAIL PROTECTED] wrote:
Hi guys,
I'm new to SOAP and I need
Is the DeadLockFault class a bean? If not, then you can't use the bean
[de]serializer.
Anne
On 7/6/06, José Antonio Sánchez [EMAIL PROTECTED] wrote:
That solved the problem for the input parameters but it still warns
about typemapping of the DeadLockFault exception.
The deployment descriptor
there is still the same error when i try to engage the soapmonitor module
via the axis administration page.
but when i access soapmonitor applet through the web browser, i am be able
to see the applet but and see it in start mode, but when i make a call from
client to server the soapmonitor
I don't have it. Would I need it? the server is not java.There's a soap client here running in perl using SOAP::Lite that doesn't need any bureaucracy. Now i can send a post that the server successfully answers. But I cannot deserialize it. The answer the server sends is a list of Person objects
Hi,
I am a newbie trying to create a RPC-based Web Service. I created this
using Axis2 (latest nightly build dated 5th July). The problem is that
I cannot use WSDL2Java to generate the Client stubs. So what I did is
to use the old Axis (1.4 from 22nd April) to do this.
For some reason I don't
Note that if you do DOCUMENT style, your method can take only one
parameter (you must wrap your input parameters into a bean).
As a better approach, I recommend that you adopt a WSDL First
approach. Define the WSDL as you'd like to see it, then generate your
server from it.
Anne
On 7/6/06,
Why were you unable to generate a client using Axis2?
See http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html.
Anne
On 7/6/06, M S [EMAIL PROTECTED] wrote:
Hi,
I am a newbie trying to create a RPC-based Web Service. I created this
using Axis2 (latest nightly build dated 5th July).
Thanks Anne!
I faced this input parameter problem with DOCUMENT style. So I dropped that idea and used WRAPPED style.
Is there any other way other than WSDL First approach?
Even if I use WSDL First approach and use Axis 1.3/1.4, will this overcome my problem of getting Zero Length Inner Array?
I tried to make my own by generating the stub files usingWSDL2Java from the WSDL generated by Axis.Everything seems fine, I deploy it, etc. but when I try to run the clientI get the following:
Exception in thread main java.lang.RuntimeException:java.lang.RuntimeException: Unexpected subelement
A WSDL file is always a useful thing to have when exchanging SOAP
messages. It tells you exactly what the messages are supposed to look
like. It has nothing to do with whether or not the server is written
in Java. The reason you want the WSDL is to allow any client to talk
to the service,
i don't know if this useful or not
From: robert lazarski [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: [Axis2 v1.0] soapmonitor, how to use
Date: Thu, 6 Jul 2006 09:14:50 -0300
Let me try to understand where you're at now. You have the phases
Axis2 doesn't support SOAP encoding, but it does support RPC/literal.
Could you please provide a little more information about what you're
doing? I thought you said that the service was implemented using
Axis2.
Also, please post the WSDL.
Anne
On 7/6/06, M S [EMAIL PROTECTED] wrote:
I tried
You do not need a WSDL, but in situations like these it is helpful
because seemingly your only reference how to make the call is in perl
. Now if you're familair with how the perl code is doing things,
that'll help.
First advice: use axis2 . At least in my case you're more likely to
get help.
SOAPMonitor seems using tcp port 5100.
Is there any program in your server grasp tcp port 5100 ?
How about checking with netstat -p tcp or something like that ?
--- Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
there is still the same error when i try to engage the soapmonitor
module
via the
Hi,
Basically what I'm trying to do is to create a simple Web Service that
will receive a String and retun the same string, i.e. basically an
echo web service. I tried using the sample on the Axis2 documentation
page with OMElement - it works fine.
My problem is that I want to use String
thank you so much, i will try..
Wan
From: Kinichiro Inoguchi [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: [Axis2 v1.0] soapmonitor, how to use
Date: Thu, 6 Jul 2006 06:03:28 -0700 (PDT)
SOAPMonitor seems using tcp port 5100.
Is there any
actually, i forgot to mention that i am using Jetty..is there any different
in setting?
and for listening to the port, we consider only for the server computer
task, or the system?
sorry for asking such a question, i am still only a trainnee, have not much
experiences.
Kind regards,
Wan
I've never tried Axis2 with Jetty, sorry.
Can you try to using tomcat5 ?
I'm using SDK 1.4.2, tomcat 5.0, and Axis2 on WindowsXP.
About listening port, yes, I meant only server computer.
Regards,
kinichiro
--- Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
actually, i forgot to mention that i
i am using
java version 1.4.2_10
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
in linux environment..
Thank you for all your help, i will give it another try tomorrow. Greatly
appreciated
Wan
From:
Consuming a .net web service (.net 2.0), created a stub using
WSDL2Java (axis2 1.0). Part of the data returned uses attributes.
Relevant schema looks like:
xs:complexType name=NameValueType
xs:attribute name=Name type=xs:string use=required/
xs:attribute name=Value type=xs:string
Hi,I have a simple Hello World web service basically takes a String parameter name and return Hello, + name. I deployed the webservice to axis2 and run wsdl2java to generate the client class. I look at the source of the generated client, and find the parameter optimizeContent is not used in the
Hi,
I just would like to know if Axis2 1.0 is JAX-RPC
1.1 and/or JAX-WS compliant or not. It was not the case in the 0.95
version.
Thanks in advance.
Best
regards,Loïc
If you use WSDL First with Axis 1.4, it should work.
I recommend using unwrapped arrays -- i.e., don't define an array
type, just define the element as a repeating element
(maxOccurs=unbounded).
Anne
On 7/6/06, Amit Andhale [EMAIL PROTECTED] wrote:
Thanks Anne!
I faced this input parameter
No. JAX-WS support is still in development.
On 7/6/06, Loïc MAZE [EMAIL PROTECTED] wrote:
Hi,
I just would like to know if Axis2 1.0 is JAX-RPC 1.1 and/or JAX-WS
compliant or not. It was not the case in the 0.95 version.
Thanks in advance.
Best regards,
Loïc
Please help me.This is the problem:I have operations on my web service which return a complex type, ie a bean.When I generate my client stubs, it always generate a new bean that I have to handle with the existing bean!What I would like to do is to tell WSDL2Java to use the existing bean and not
Folks,
I just started to use AXIS 1.6b in Redhat Linux. After I generated C++ code
using WSDL2WS tool, I got the following issues/questions:
1. For all Axis_DeSerialize methods, the fileds which are xsd__string were
generated to be assigned to xsd__string *. For example, in this code
segment,
All,
I'm getting the following nested exception:
Can not output XML declaration, after other output has already been done.; nested exception is: javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has already been done.; nested exception is:
A quick clarification!
Does the problem occur after receiving a response ?
Ajith
On 7/6/06, John Ferron [EMAIL PROTECTED] wrote:
All,
I'm getting the following nested exception:
Can not output XML declaration, after other output has already been done.;
nested exception is:
Hi,I have multiple businessservices
interfacesthat I would like to expose with Xfire as
web services. The problem is that I need to
transform the input and output parameters
of the interface to/from someexternal formats (I
have the respective XML schemas
for the external formats)
I would like
Hi,
If you use Axis2 1.0 release version, it will work.
RPCMessageReceiver of Nightly Builds have problem that returns
broken qualified response.
I created JIRA for this issue today.
generated stub client send message like this,
soapenv:Body
ns1:echo xmlns:ns1=http:///xsd;
Guys, thank you very much for the explanations.
I'm already using tcpmon, very helpful. Bellow is the message sent
from the server, the one I have to deserialize. The method I called
was AgendaPesquisa. It's a method to search in a contacts catalog
for a contact(a person) with some
Hi Angel,
It is possible to deploy a module programmatically without touching
the configuration files at the client side.
Please have a look at this [1]
Note that you must drop the .mar file in the sample place where you
have the axis2* jars in your classpath.
At the end of this [2] you can
ERRATA: the contact objects go inside the
ListaContatosPesquisa.../ListaContatosPesquisa tags.
sorry.
I need to create a contact object for each
ListaContatosPesquisa/ListaContatosPesquisa returned from the
server.
thank you,
bruno
Hi,
Which version of WSS4J are you using?
Thanks,
Ruchith
On 6/30/06, Layne Shepherd [EMAIL PROTECTED] wrote:
I have axis 1.4 running on tomcat with both java and .net clients
connecting. Both clients are sending similar envelopes, but the .net client
is failing with WSDoAllReceiver:
Ajith
Based off the stack trace (which I did forget in the previous email), no, it is on sending:
Hello.
I want to define in a repository all my own services, whrere some of them
will be
finally web services, and other will be invocated in other ways (directly
how Java class,
RMI, JMS, ).
I want to standardize the input/output of all my services and keep a
definition service
of each
I'm having the same problem. I can return values from the generated skeleton
code, but trying to throw an excepion causes an OMException. The exception
I'm throwing was created by wsdl2java and maps to the fault I declared in
the WSDL. It looks like it should be very straighforward (the exception
Your response message does not match your schema definition.
- Your schema does not specify elementFormDefault=qualified;
therefore, all local elements must be unqualified.
- Your response message defines a default namespace; therefore, all
non-explicitly qualified elements are qualified by the
Hi
Apache Synapse helps you do this
(http://incubator.apache.org/synapse). The latest builds have a model
called proxy services which allow you to define a new service that
proxies an existing service. In addition you can specify WSDL files
for these services which will be exposed via ?wsdl.
think you for your help.
Stefan Vladov a écrit :
A I'm having hard time understanding what you said... and I
totally missed the part with the slit proxy... you sound like the
jwsdp tutorial :-).
If you need to invoke a web service, you are not initially familiar
with (which was my
Good Afternoon John-AXIS 2 is decidedly not beta
readyThefunctionality Ihad with Axis-1_3 (which worked
flawlessly BTW) is either
Missing entirely..Is there one working jws which the AxisServlet
willpublishas a working AxisServlet service?
Doesnt work at all ..try running WSDL2Java on any
Folks-Finally founda WSDLthat works with WSDL2Java to
generate stubs-
org.apache.axis2.wsdl.WSDL2Java -uri file://AXIS/Axis-2_1/samples/wsdl/Axis2SampleDocLit.wsdlStill
looking for more (and better) examples
ThanksM-
*This
M,
The code that I am pasting does work.I had to restart from scratch was able to successfully create the soap wrapper/header correctly. But I do have an oustanding issuethat I have annotated in a previous email regarding the ServiceClient.sendRecieve() method. I've attached the email to which
Guys,
I don't know how to deserialize the soap message bellow that my soap
server is sending. it is not java server and I dont have the WSDL. The
method I called
was AgendaPesquisa. It's a method to search in a contacts catalog
for a contact(a person) with some characterisctic. The server then
The code in the src distro explains this:
modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java
From testechoMail() ,
OMElement response = sender.invokeBlocking(operationName, args.toArray());
Mail resBean = (Mail) BeanUtil.deserialize(Mail.class,
response.getFirstElement());
Good Afternoon John-
I didnt see your definition for namespace /*I assume defined in the
Envelope */operation /*I assume part of Service
*/ServiceClientThanksMartin
--*This
email message and any files transmitted with it
Hello:I have just started out some samples with axis1.4.When the wsdl2java is run for a wsdl, it generates the ServiceLocator as well the BindingStub. Trying to understand the advantages of using the ServiceLocator rather than using the BindingStub directly.
Thanks for your help and
Hi Asankha,Sorry for the late response. I was busy with:1) Examining the listener part of the new JMS implementation2) Discovering the security settings of the SonicMQ3) Creating authenticated connections to the SonicMQ from Hermes[1] and Axis24) Preparing unit testsI opened a JIRA issue[2] and
Robert,
I've downloaded the axis2 source but I could not find the
RPCCallTest.java file. Can you simple attach it and send it to me by
email?
Thank you,
bruno
On 7/6/06, robert lazarski [EMAIL PROTECTED] wrote:
The code in the src distro explains this:
I'll point you to the nightliers because there's been some bug fixes,
and that class may be new since the 1.0 release:
http://people.apache.org/dist/axis2/nightly/
HTH,
Robert
http://www.braziloutsource.com/
On 7/6/06, Bruno Negrao [EMAIL PROTECTED] wrote:
Robert,
I've downloaded the axis2
We changed one of the XML serialization
attributes of the array ITEM
In the Reference.cs (generated proxy) we altered the individual
response object (in the sample case we did FindAllCompaniesResponse)
There is an XmlArrayItemAttribute("item", IsNullable=false)
that we changed to:
Please, if somebody can tech me how to deserialize this XML thing I'll be glad.
thank you,
bruno
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'd like the answer to this one as well. So far I have come up with two options that I don't like so much. I am hoping Axis isn't this primitive...1) Tweak the WSDL so all complex types use the default namespace.2) Cut and paste the Axis generated client side bean code into your server side value
Hi axis users,
I finally got the green light to port the server side or our web services
from LEIF/Roguewave to axis. The main reason is economics, we want to
explore cheaper options.
I was exploring the alternatives for serverlet containers in the server
side, which will be
Hi ,
Stanley: Thanks, by following steps you suggested I got the OutPut.
But I update the web reference on .NET side, it will flush out my changes. So this is very rudimentory solution for me.
How did you solve your problem?
Anne: I got your point. I will try to use WSDL first approach and will
Hi Fabien;
pls see my comments below;
Fabien Couble wrote:
Thx for your response, but there's still a problem.
I add your command:
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:/Program
Files/Apache Software Foundation/Tomcat
86 matches
Mail list logo