Hello.
I'm trying to make a simple custom module. According to the tutorial from
Axis site, I've added the custom phase in the four flow definitions of the
conf/axis2.xml : in, out, fault in and fault out. Indeed, my handler expects
calls for these four flows.
Then, for a testing service, I
Hi Nencho ,
Axis2 soap session to be work , you need to engage addressing in both
the side.
It is working , there is a test case in the build so we are testing that
daily.
org.apache.axis2.engine.ServiceGroupContextTest
Thanks
Deepal
> Hi All,
>
> I read this axis2 session management article:
Hi,
I'm integrating with a thirdparty client which sends two attachments.
I am getting the folllowing error:
2007-04-25 00:43:10,625 DEBUG
org.apache.axis2.transport.http.AxisServlet -
org.apache.axis2.AxisFault: Invalid Content Type Field in the Mi
me Message; nested exception is:
org.apac
Dennis,
That did the trick. I'm not sure why I specified
attributeFormDefault="qualified", I possibly used another schema as a
starting point. I will enter a Jira as you request.
Thanks very much for your help.
Paul
-Original Message-
From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
Sen
Not much else I can suggest, then, except to try capturing the exchange
with Tcpmon or something similar to see what's actually getting sent out
from each end.
I updated some of my performance test code to run with the 1.1.1 Axis2
release. This uses attributes pretty heavily, and it looks corr
So I have generated java code from some WSDL's. In a test class I have a
main method where I do...
MyServiceStub stub = new MyServiceStub();
UserInfoDocument d = UserInfoDocument.Factory.newInstance();
UserInfo u = d.addUserInfo();
u.setName("Bob");
u.setDOB("1-1-1956");
stub.getUserRecords(d);
Dennis,
Thanks for that info. My invalid schema does indeed process without any
complaint from WSDL2Java.
I modified the schema as you suggested to
http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace
Hi Paul,
Your complexType definitions are invalid, which may be the cause of the
problem. Attribute declarations need to be after the element,
not before it. I'm surprised you're able to run WSDL2Java using this as
input without getting an error message - sounds like the schema model
needs s
Hi,
I am having a problem with data that is transferred via XML attributes.
Namely, when an object is constructed after receiving a message the
getter corresponding to an attribute returns null.
I start with a WSDL file and use XMLBeans data binding. The following
example is a modification of the
Jay
I am able to maintain session now, the only additional line that i had to
add to maintain session is
"opts.setManageSession(true)"
I am still not able to access the session id using the header though but I
am able to maintain session with the non java web service.
Thanks
Anil
On 4/25/0
I am using axis 1.4.
I am getting the following error while running an apache axis client. I
appreciate your help!
Prasad
Exception in thread "main" java.lang.ExceptionInInitializerError
[Loaded java.lang.StackTraceElement from C:\Program
Files\Java\j2re1.4.2_14\lib\
rt.jar]
at org.apache.axis.client.Service
I've just picked up the latest Axis2 build (from 20070425) and am having
trouble getting JSON and SOAP responses from the sample Version service.
Really I think the problem is I just don't understand if Axis2 can do what
I'd like it to do. The online documentation and googlin
I found the answer to my own question by googling. Deepal essentially
answered this question in a post from last July.
To get my ServletContext I don't need a ServletEndpoingContext. I can
just call
msgCtx.getProperty(Constants.SERVLET_CONTEXT);
As for the other constant, WSDLGEN_SERV_LOC_URL, it
AxisServlet mandates that the "servicePath" parameter read from
axis2.xml be non-empty. Curiously, it enforces this requirement when
the parameter is first used (at which point it trims it yet again),
not when it's set:
,[ AxisServlet.getServicePath() ]
| public String getServicePath() {
|
See comments below.
-David
> Can you please post the full stack trace?
Here it is:
Exception in thread "main" org.apache.axis2.AxisFault: Address already in
use: connect
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377)
at
org.apache.axis2.transport.http.HTTPSender.se
Question is as subject. Thanks in advance.
Hailong Wang
National Database for Autism Research(NDAR)
NIH/CIT/DECA (MOM CONTRACTOR)
9000 Rockville Pike, Bld 12A/Room 2027
Bethesda, MD 20892
Phone: 301-402-3045
Fax: 301-480-0028
Email: [EMAIL PROTECTED]
URL: http://ndar.nih.gov
David,
please see my comments below.
On 25 Apr 2007, at 18:33, david2 wrote:
Michele,
I have been trying to get your recommended code to work, but my web
service
also throws an Axis Fault right at the 4000th web service request:
Exception in thread "main" org.apache.axis2.AxisFault:
Hi all,
when I run wsdl2java, it throws an UnmatchedTypeException so no java
sources are generated.
Can somebody help me what the problem is? You can find below the command
call, the exception, the wsdl and the xsd definition.
Thanks in advance
Stefan
This is the output from ant with the foll
You can look at the thread "Axis2 Manage Session Cookie Manually"
On 4/25/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
Nencho
Think of this as a cookie. The client has to be enabled to respond
with cookies, but that doesn't create the cookie in the first place.
To make this work you need to s
Deepal,
Can i copy over modules/jaxws modules/jaxws-api and modules/metadata
from trunk? If we make sure to test POJODeployer and the JAXWS Sample?
and since this set of jars are experimental anyway?
thanks,
dims
On 4/23/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi All;
Since we are pl
Michele,
I have been trying to get your recommended code to work, but my web service
also throws an Axis Fault right at the 4000th web service request:
Exception in thread "main" org.apache.axis2.AxisFault: Address already
in use: connect
I ran netstat and noticed that I have over 1400 con
Hi Nencho,
Did you engage addressing module on the client side? This is required for
soap session based communication.
Sanjesh
_
From: Nencho Lupanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 11:14 AM
To: [EMAIL PROTECTED]; axis-user@ws.apache.org
Subject: [axis2 ]so
Jay
I am viewing the HTTP header using tcpmon, i tried using fiddler and it
does not show SOAP messages if i am using a web service but shows message in
case of it being a web site. In tcpmon i can see the cookie information
"HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Wed, 25 Apr 2007 02:2
It took me a lot of experimentation with deploying my Axis2 web
application to figure out that, by default, Axis2 assumes that its
servlet mapping is "/services/*". This can apparently be changed with
the "servicePath" configuration parameter in axis2.xml.
However, I notice that even in Axis2 WAR'
Jon,
NoClassDefFoundError is a linkage error. Probably because the ClassLoader
that loaded org.apache.catalina.startup.HostConfig is unable to "see" the
ClassLoader that loaded HttpSessionListener (i.e. it was loaded by a child or
sibling ClassLoader). AFAIK, Tomcat does not expose its classloadin
Hello all,
The Apache/AXIS1.X server generates a different WSDL when I use
extensions with new attributes (on the subType).
Consider myBaseType and subType... The complexContent of subtype
contains the new attributes, "valid" and "foreign"... My skeleton
implementation (on AXIS 1.x impleme
Hi Paul,
I have both scope attribute in services.xml
and the setManageSession(true) call in the client,
but it still does not work.
I attached my service.xml file and my client code.
And here is the response that i get frm the server:
3f2
http://www.w3.org/2005/08/addressing"; xmlns:soapenv="
In my test I was using axiom 1.2.4 and I had the same problem as with 1.2.2
Amila Suriarachchi <[EMAIL PROTECTED]> escribió: I ran your code with the
branch code and the axiom-SNAPSHOT and it works fine.
So the problem is with the axiom 1.2.2 you have to use the 1.2.4
Please try with the next RC
Nencho
Think of this as a cookie. The client has to be enabled to respond
with cookies, but that doesn't create the cookie in the first place.
To make this work you need to set
in services.xml
Now the server will set the ref params in the reply-to header. If you
have setManageSession(true) no
Hi All,
I read this axis2 session management article:
http://www.developer.com/java/web/article.php/3620661
Basically, it says that i can define my services being of a soap session
scope,
then i have to put this option on my client:
*options.setManageSession(true);*
Therefore it is expected for
Markus
I think you need to use tcpmon to trace the HTTP flow. It seems like
the server doesn't likethe URI that you are sending the request
to. Its sending back an HTTP 302 Found code which is basically a
redirect. I guess Axis2 should probably follow that redirect, but at
the same time the s
Jose,
are you using the same conf. file (i.e. axis2.xml) on both client and
server side (the response is 'yes' even if one is the copy of the
other)?
If the response is 'yes' please read the thread "BindException in axis
client" of 2 days ago.
Michele
On Wed, 2007-04-25 at 17:02 +0200, José Anto
I downloaded the latest Axis 1 so I could provide the C++ guys a way to
contact the 400 from their native code. I put the latest Axis 1.4 and
Tomcat 5.5 on the 400 (v5r4 and Java 1.5). I can get Tomcat to fire up,
but I can't run Axis in it because of a ClassNotFoundError:
2007-04-25 09:10:24,262
Thanks, Deepal. I changed to set the property in OperationConetxt and it works.
I noticed the OperationContext is copied from the in to the out
memssageContext.
Shaoguang
Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Shaoguang ,
Yes , you can not store property in req message contex
Hi
I want to as for best solution for my problem.
Situation: There is deployed and working service on server (Apache
Tomcat 5.5). Service's invoking works ok when I use client implemented
in Java (using AXIOM stuff). But now, it's needed to write PHP client
which use raw "socket connection" (NuSO
I have a service deployed in Axis2 using Tomcat as container and it's
running in port 8080. Now I'm trying to access some operations in that
service using two connections as described here:
http://ws.apache.org/axis2/1_1_1/adv-userguide.html
So I've added this code to my client:
stub._getServic
Pat,
I'm glad the thread helped you.
I have not tried the KEEP_ALIVE option. If I have time I will try today
and let you know what I find.
-Jay
-Original Message-
From: pat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 8:55 AM
To: axis-user@ws.apache.org
Subject: RE: Axis2
There is a getIpAddress() method available in HttpUtils
http://ws.apache.org/axis2/1_1_1/api/org/apache/axis2/transport/http/server/HttpUtils.html
Saludos
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email m
Hi,
1st THANKS a lot for this thread !!! It helped me a lot !!!
I have question: How to setup commecion to be "keep-alive"?
I've tried this:
opts.setProperty(HTTPConstants.HEADER_CONNECTION,
HTTPConstants.HEADER_CONNECTION_KEEPALIVE);
but without luck :-(
Thanks a lot.
Pat
On Tue, 24 Apr
Hi Friends,
I have built webservice + client with WSDL2java using style="document/literal".
Now I want to make same service with style="rpc/encoded".
Can you tell me what are the steps to do so? Or any web link to guide me?
With best regards
From
Vikas R. Khengare
Hello list,
this is my first contact with axis2. I've to implemtent a client using a 3rd
party service over https and username/passwd authentication.
I've been spending many hours on this and couldnot find any similar errors
on the list or even on the web
I autogenerated the client with following
Hi Charitha,
Thank you for the explanation you gave me. I got another question about
using AXIOM
in axis. do you have any references of using it (such as tutorial)? I tried
to understand the tutorial
in the apache website but i still can't get it clear.
any idea of this?
thanks a lot
Regards,
Hi Charitha,
Thank you for the explanation you gave me. I got another question about
using AXIOM
in axis. do you have any references of using it (such as tutorial)? I tried
to understand the tutorial
in the apache website but i still can't get it clear.
any idea of this?
thanks a lot
Regards,
K
Kencana wrote:
Hi Charitha,
to create a new service we must create aar file and put it to the services
folder right?
Correct.
can we use other file type than aar like wsdl to create the service?what are
others file type can we use
for the axis service?
AFAIK, aar is the supported deplo
Hi Fran ,
please try http://wso2.org/library/480
Thanks
Deepal
> Hi!
>
> I want to know if it's possible that the server of a web service can
> get the client ip.
>
> Thanks!
>
> PS: Sorry for my poor english.
>
--
Thanks,
Deepal
I get this error message while generating classes using WSDL2Java.
java.io.IOException: Error: missing type or ref attribute for node
'unknown'
at
org.apache.axis.wsdl.symbolTable.SymbolTable.createTypeFromRef(SymbolTab
le.java:1334)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.
You are not missing SchemaTypeSystem, but rather
schemaorg_apache_xmlbeans.system.sCBF8B98FA2E75865F9C83C43E1056B1A.TypeSystemHolder
. This is a file that gets generated by XMLBeans when it compiles XML
Schemata. You have to add all class files in the directory
"schemaorg_apache_xmlbeans" (they
Hi!
I want to know if it's possible that the server of a web service can
get the client ip.
Thanks!
PS: Sorry for my poor english.
--
Saludos
Fran
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I ran your code with the branch code and the axiom-SNAPSHOT and it works
fine.
So the problem is with the axiom 1.2.2 you have to use the 1.2.4
Please try with the next RC.
On 4/24/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote:
Hi Amila,
I tried again without the addressing module and I had t
Hi Charitha,
to create a new service we must create aar file and put it to the services
folder right?
can we use other file type than aar like wsdl to create the service?what are
others file type can we use
for the axis service?
Thank you
Regards,
Kencana
Charitha Kankanamge wrote:
>
> Hi Ke
It will be available in both stub and skeleton classes.
In my case inside the stub, the internal class "Factory" has "parse"
method.
/**
* Factory class that keeps the parse method
*/
publ
52 matches
Mail list logo