Please unsubscribe me

2005-06-27 Thread CREMENESCU FLORIN

 Hi, 

 I'm trying to unsubscribe from the axis list, but I found this impossible.
Could someone remove my address [EMAIL PROTECTED] from this list ? 

Thank you, 
  Florin

 PS Here are my subscribe request and the unsubscribe answer from your list
manager program (you can see that it's the same address) : 

SUBSCRIBE MESSAGE : 

Hi! This is the ezmlm program. I'm managing the
axis-dev@ws.apache.org mailing list.

Acknowledgment: I have added the address

   [EMAIL PROTECTED]

to the axis-dev mailing list.

Welcome to [EMAIL PROTECTED]

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

To unsubscribe, send a message to:

[EMAIL PROTECTED]


--- Administrative commands for the axis-dev list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example [EMAIL PROTECTED], just add a hyphen and your
address (with '=' instead of '@') after the command word:
[EMAIL PROTECTED]

To stop subscription for this address, mail:
[EMAIL PROTECTED]

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 7396 invoked by uid 99); 29 Mar 2005 15:42:23 -
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from mailhost2.cdn.fr (HELO net191rms002.cdn.fr) (194.2.239.194)
  by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 29 Mar 2005 07:42:21 -0800
Received: from net188fls002.cdn.fr (unverified) by net191rms002.cdn.fr
 (Content Technologies SMTPRS 4.3.17) with ESMTP id
[EMAIL PROTECTED] for
[EMAIL PROTECTED]
che.org;
 Tue, 29 Mar 2005 17:40:36 +0200
Received: from sec014mes052.cdn (unverified) by net188fls002.cdn.fr 
(Content Technologies SMTPRS 4.3.17) with ESMTP id 
[EMAIL PROTECTED] for 
 
[EMAIL PROTECTED]
che.org
   ; Tue, 29 Mar 2005 17:42:18 +0200
Received: by sec014mes052.cdn with Internet Mail Service (5.5.2657.72) id 
HPN5CKAM; Tue, 29 Mar 2005 17:42:20 +0200
Message-ID: [EMAIL PROTECTED]
From: CREMENESCU FLORIN [EMAIL PROTECTED]
To:
'[EMAIL PROTECTED]
ache.org'
 
[EMAIL PROTECTED]
che.org
Subject: RE: confirm subscribe to axis-dev@ws.apache.org
Date: Tue, 29 Mar 2005 17:35:49 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Checked: Checked



 -Message d'origine-
 De:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
 Date: mardi 29 mars 2005 17:42
 =C0:  [EMAIL PROTECTED]
 Objet:confirm subscribe to axis-dev@ws.apache.org
=20
 Hi! This is the ezmlm program. I'm managing the
 axis-dev@ws.apache.org mailing list.
=20
 To confirm that you would like
=20
[EMAIL PROTECTED]
=20
 added to the axis-dev mailing list, please send
 an empty reply to this address:
=20
 =20
 [EMAIL PROTECTED]
.ap
 ache.org
=20
 Usually, this happens when you just hit the reply button.
 If this does not work, simply copy the address and paste it into
 the To: field of a new message.
=20
 This confirmation serves two purposes. First, it verifies that I am able
 to get mail through to you. Second, it protects you in case someone
 forges a subscription request in your name.
=20
=20
 --- Administrative commands for the axis-dev list ---
=20
 I can handle administrative requests automatically. Please
 do not send them to the list address! Instead, send
 your message to the correct command address:
=20
 To subscribe to the list, send a message to:
[EMAIL PROTECTED]
=20
 To remove your address from the list, send a message to:
[EMAIL PROTECTED]
=20
 Send mail to the following for info and FAQ for this list:
[EMAIL PROTECTED]
 

Axis with Applets

2005-06-27 Thread Dirk Strauss

Hello,

I'd like to use Axis in a simple Java applet. My testings were 
successfull .. until I used a real browser. Seems that the browser is a 
little bit concerned about some functions :/


Anyway, signing the applet isn't enough so I want to ask you if there is 
a tutorial or a faq somewhere that covers this topic. ^_^


regards

--
Kaeto23

My Blog: http://lexxy23.blog.de/

Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird/


AW: deserializing error

2005-06-27 Thread Ferruh Zamangoer
Yes you have to edit manually your deploy.wsdd with the following lines:

 

typeMapping

xmlns:ns= http://ProvidentConnector.ProvidentResponseToOrch
http://ProvidentConnector.ProvidentResponseToOrch;

qname=ns: ProvidentResponse

type=java:[packagename of your class]. ProvidentResponse

serializer=org.apache.axis.encoding.ser.BeanSerializerFactory

deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory

encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;

  /

 

Then you must redeploy you service.

 

Hope it works.

 

Regards

Ferruh 

 

  _  

Von: Patrick Quinn [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 26. Juni 2005 19:55
An: axis-user@ws.apache.org
Betreff: RE: deserializing error

 

Just bouncing this one, as the question was fairly generic:

 

 The server-config.wsdd file I notice does not have the bean mapping
described by Mark.

 Should I add this manually myself?

 

Is it common for the wsdl-generated wsdd deployment files to be lacking?

 

I would have expected AXIS to cover everything off, or if not, at least
provide some kind of tutorial/guide on how to modify the deployment files
where they are lacking.

 

Thanks


Pat

 

-Original Message- 
From: Patrick Quinn 
Sent: Sat 25/06/2005 16:25 
To: axis-user@ws.apache.org; axis-user@ws.apache.org 
Cc: 
Subject: RE: deserializing error

Hi Guys

Thanks for your responses, really appreciated.

Yes, the code segment exists as follows:

qName = new
javax.xml.namespace.QName(http://ProvidentConnector.ProvidentResponseToOrch
, ProvidentResponse);
cachedSerQNames.add(qName);
cls =
ProvidentResponseToOrch.ProvidentConnector.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}

I think this looks correct.

The server-config.wsdd file I notice does not have the bean mapping
described by Mark. Should I add this manually myself?

I'm new to Axis - I presume the server-config.wsdd is updated when a service
is deployed (using the AdminService command). So my guess is that the
deploy.wsdd generated by WSDL2Java is not generating the type mapping.
Should it be doing so, or is it understood that the user should add this
information separately?

Thanks again for all the help, it is very useful and enlightening.

Patrick



-Original Message-
From: Ferruh Zamangör [mailto:[EMAIL PROTECTED]
Sent: Fri 24/06/2005 18:04
To: axis-user@ws.apache.org
Cc:
Subject: RE: deserializing error
   
   

Hi Patrick,
   
you have a generated stub class. look at your stub class if this
code
segement exists
   
qName = new javax.xml.namespace.QName(urn:[yourpacckagename]
ProvidentResponse);
cachedSerQNames.add(qname);
cls = yourpackagename.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
   
This is the code which must be in your stub class. Also you must be
sure
that you have deployed the service with the right typeMapping how
it's
described by Mark.
   
Regards
Ferruh
   
   
   
 --- Ursprüngliche Nachricht ---
 Von: Patrick Quinn [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: RE: deserializing error
 Datum: Fri, 24 Jun 2005 17:00:32 +0100

 Thanks for the tip.

 The registerTypeMapping call is already made in the stub, as part
of
 createCall():


 synchronized (this) {
 if (firstCall()) {
 // must set encoding style before registering
 serializers
 _call.setEncodingStyle(null);
 for (int i = 0; i  cachedSerFactories.size();
++i)
 {
 java.lang.Class cls = (java.lang.Class)
 cachedSerClasses.get(i);
 javax.xml.namespace.QName qName =
 (javax.xml.namespace.QName)
 cachedSerQNames.get(i);
 java.lang.Class sf = (java.lang.Class)
  cachedSerFactories.get(i);
 java.lang.Class df = (java.lang.Class)
  cachedDeserFactories.get(i);
 _call.registerTypeMapping(cls, qName, sf,
df,
 false);
 }
 }
 }
 return _call;

 Should I add your code segments to my client implementation
despite
 this?

 Thanks

   

RE: deserializing error

2005-06-27 Thread Patrick Quinn
Great, thanks for the response Ferruh - I will try this when I get a chance.
Patrick

-Original Message- 
From: Ferruh Zamangoer [mailto:[EMAIL PROTECTED] 
Sent: Mon 27/06/2005 11:13 
To: axis-user@ws.apache.org 
Cc: 
Subject: AW: deserializing error



Yes you have to edit manually your deploy.wsdd with the following lines:

 

typeMapping

xmlns:ns=http://ProvidentConnector.ProvidentResponseToOrch 
http://ProvidentConnector.ProvidentResponseToOrch 

qname=ns: ProvidentResponse

type=java:[packagename of your class]. ProvidentResponse

serializer=org.apache.axis.encoding.ser.BeanSerializerFactory


deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory

encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;

  /

 

Then you must redeploy you service.

 

Hope it works.

 

Regards

Ferruh 

 


  _  


Von: Patrick Quinn [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 26. Juni 2005 19:55
An: axis-user@ws.apache.org
Betreff: RE: deserializing error

 

Just bouncing this one, as the question was fairly generic:

 

 The server-config.wsdd file I notice does not have the bean mapping 
described by Mark.

 Should I add this manually myself?

 

Is it common for the wsdl-generated wsdd deployment files to be lacking?

 

I would have expected AXIS to cover everything off, or if not, at least 
provide some kind of tutorial/guide on how to modify the deployment files where 
they are lacking.

 

Thanks


Pat

 

-Original Message- 
From: Patrick Quinn 
Sent: Sat 25/06/2005 16:25 
To: axis-user@ws.apache.org; axis-user@ws.apache.org 
Cc: 
Subject: RE: deserializing error

Hi Guys

Thanks for your responses, really appreciated.

Yes, the code segment exists as follows:

qName = new 
javax.xml.namespace.QName(http://ProvidentConnector.ProvidentResponseToOrch;, 
ProvidentResponse);
cachedSerQNames.add(qName);
cls = 
ProvidentResponseToOrch.ProvidentConnector.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}

I think this looks correct.

The server-config.wsdd file I notice does not have the bean 
mapping described by Mark. Should I add this manually myself?

I'm new to Axis - I presume the server-config.wsdd is updated 
when a service is deployed (using the AdminService command). So my guess is 
that the deploy.wsdd generated by WSDL2Java is not generating the type mapping. 
Should it be doing so, or is it understood that the user should add this 
information separately?

Thanks again for all the help, it is very useful and 
enlightening.

Patrick



-Original Message-
From: Ferruh Zamangör [mailto:[EMAIL PROTECTED]
Sent: Fri 24/06/2005 18:04
To: axis-user@ws.apache.org
Cc:
Subject: RE: deserializing error
   
   

Hi Patrick,
   
you have a generated stub class. look at your stub 
class if this code
segement exists
   
qName = new 
javax.xml.namespace.QName(urn:[yourpacckagename]
ProvidentResponse);
cachedSerQNames.add(qname);
cls = yourpackagename.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
   
This is the code which must be in your stub class. Also 
you must be sure
that you have deployed the service with the right 
typeMapping how it's
described by Mark.
   
Regards
Ferruh
   
   
  

Re: Dynamic Endpoints

2005-06-27 Thread John Baker
Well, I can conclude that I have disclosed everything I nkow, and I have
some idea what I'm doing :-) 

I guess in broader terms, I'd like to know how to modify deployment
descriptors on the fly! Imagine I were creating a Java GUI FrontEnd, and Mr.
user wants to add a new Service or Port? Or modify an existing one? That's
what I'm trying to achieve.

Perhaps put more simply, that makes the problem easier to comprehend.

On Sun, Jun 26, 2005 at 08:35:08AM -0400, Jeff wrote:
 Hi John,
 
 At least one of us seems to be confused here  :-)
 
 The Service you are referring to is client-side code. If all you want to do
 is set an endpoint for you client to connect to then you can do it
 straightforwardly using code I mentioned earlier.
 
 I get the impression that (i) you are trying to do something that you don't
 really wish to fully disclose so it's not clear what your problem is or (ii)
 you have no idea what you're doing or (iii) you are doing something that
 exceeds my comprehension and you would perhaps fair better with help from
 someone with more expertise!
 
 
 Best wishes,
 
 Jeff
 
 
 
 
 - Original Message - 
 From: John Baker [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Sunday, June 26, 2005 4:39 AM
 Subject: Re: Dynamic Endpoints
 
 
  Jeff,
 
  Perhaps this is a question for the dev list, as it really does revolve
  around Axis internals, and not Axis usage?
 
 
  John
 
  On Sat, Jun 25, 2005 at 01:38:50PM -0400, Jeff wrote:
   Thanks, BarZ, I'm sure we'll bear that in mind  :-)
  
  
   Jeff
  
  
   - Original Message - 
   From: Barzilai Spinak [EMAIL PROTECTED]
   To: axis-user@ws.apache.org
   Sent: Sunday, June 26, 2005 1:14 AM
   Subject: Re: Dynamic Endpoints
  
  
I haven't following this thread but it seems you guys are talking
 about
a million different subjects here.
Now, the question below is very easy! There's something called the
deployment descriptor or something
like that where you define all the services you are going to provide.
What their names are, what is the
class that implements it, whether Axis should instantiate an object
 per
call or use a single instance and use it for all calls
(which should be a thread-safe object), and you can specify a whole
 lot
of parameters. Look it up in the docs, it's one
of the first things you learn about. It's written in XML of course :-)
I don't usually like to say RTFM but this one is on the cover of the
   book.
   
BarZ
   
John Baker wrote:
   
Well perhaps we should think about this at a different angle.

The client makes a call to an Axis server. How does the Axis server
   figure
out which class to instantiate? When it receives a call to the
 service
MyService, how does it look up that service (the Service object)?

That's what I'm asking, and I'm convinced someone on this list should
   know
:-)



   
  Internet Banda Ancha Todo el Dia por $u 490 por mes
Sin gastos adicionales - Sin ocupar su telefono
Y los primeros 4 meses 50% de descuento!
 __
 http://www.internet.com.uy - En Uruguay somos internet
   
   
   
   
  Internet Banda Ancha Todo el Dia por $u 490 por mes
Sin gastos adicionales - Sin ocupar su telefono
Y los primeros 4 meses 50% de descuento!
 __
 http://www.internet.com.uy - En Uruguay somos internet
   
   


Doubt

2005-06-27 Thread venkatesh



Hi Users,
 what is the use of this declaration. 
I'm using this in SSL.. What this method will do?

AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory");


Can somebody help me to know about this 
method..

Bye
Venkat.Confidentiality Notice: This transmittal is a confidential communication.  If you are not the intended recipient, you are hereby notified that you have received this transmittal in error and that any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify this office immediately by reply and immediately delete this message and all of its attachments, if any.

Wss4j.jar

2005-06-27 Thread Dorner, Thomas
Hi all,

Can someone pls give ma an url, where I can download an up-to-date version
of the wss4j.jar or send me?
-- I also looking for a dokumentation, how to build up keymanagement to use
with wss4j.
What should I do to get wss4j working for example with
WSDoAllSender/Receiver

Some help would be fantastic

Thanks Tomi



AW: Wss4j.jar

2005-06-27 Thread Dorner, Thomas
Hi,

I get the following exception with a wss4j.jar downloaded at an tutuorial!
-- Exception say:  Proxy file (keys/x509.PFX.MSFT) not found.[]
How can I solve this problem?

Thank you in advance
Tomi

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFacto
ry.java:117)
at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFac
tory.java:101)
at
com.tsystems.epdm.pdmwebconnector.webService.handler.WSDoAllSender.loadEncry
ptionCrypto(WSDoAllSender.java:658)
at
com.tsystems.epdm.pdmwebconnector.webService.handler.WSDoAllSender.invoke(WS
DoAllSender.java:296)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
com.tsystems.epdm.pdmwebconnector.client.webservice.soapclient.UniversalStub
.login(UniversalStub.java:221)
at
com.tsystems.epdm.pdmwebconnector.client.servlet.Login_Servlet.doPost(Login_
Servlet.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.ws.security.components.crypto.CredentialException:
Proxy file (keys/x509.PFX.MSFT) not found.[]
at

RE: using proxy to connect to server with ssl and arrays with complex objects

2005-06-27 Thread Jairam, Roopnaraine
Problem only occurs with array of complex objects with more than one
object.

I am sending up to my webservice as one of my param's an array of
complex objects, when it has more than 1, the service time's out. I
tried changing my service to accept everything as one complex object
which contains an array of complex objects and this also craps out. I
finally got it to work by changing my service to accept multiple param's
of simple elements and an array of strings :(, tight schedule so this
will have to do.

Vince.

-Original Message-
From: Jairam, Roopnaraine 
Sent: Friday, June 24, 2005 10:00 AM
To: axis-user@ws.apache.org
Subject: RE: using proxy to connect to server with ssl and arrays

Has no one seen this problem before?

-Original Message-
From: Jairam, Roopnaraine 
Sent: Thursday, June 23, 2005 2:41 PM
To: axis-user@ws.apache.org
Subject: using proxy to connect to server with ssl and arrays

i am getting the following error when trying to send
an array with more than one element with a proxy and
openssl with gsoap to the axis server on gsoap. 

SOAP FAULT: SOAP-ENV:Server.userException
java.net.SocketTimeoutException: Read timed out
Detail: myserver

my soap client is trying to talk to axis server. The
weird thing is if i use plain http (proxy or no
proxy)the web req goes thru, when i use the ssl (no
proxy) it goes thru, it ONLY breaks if i use ssl with
proxy and more than 1 element in the array.

Please help as I don't know where the problem is, not sure if it is in
the client which is gsoap or the server which is axis. I sent this
message to the gsoap group as well to get some help

Any help would be appreciate 

Thanks

Vince.





NTLM Authentication (again)

2005-06-27 Thread Martin Woodward
Hi,

I'm trying to talk to a web service that requires NTLM authentication
for my sins.  The good news is that it works, the bad news is that I
have to proxy the request through a local instance of TCPmon to get it
to work.  Does this sound familiar to anyone, I could very possibly be
me doing something dumb...

I am using axis-1_2_1, commons-httpclient-3.0-rc3, commons-codec-1.3
on j2sdk1.4.2_08 running in Windows XP Pro SP2.

As I say, everything works fine if I run up TCPMonitor on my machine
and then include the following lines in my client...

System.setProperty(http.proxyHost, localhost);
System.setProperty(http.proxyPort, );

I've allready edited my stub to add the username/password and added a
client-config.wsdd to point to the CommonsHTTPSender.

Below is the stack trace when I don't have the web service call proxied:-

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.SocketException: Connection reset
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException:
Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at 
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1110)
at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1391)
at 
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at 
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1592)
at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393)
at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)
at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at 
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:188)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at SNIP.whoAmI(SNIP.java:430)
at com.mrwpro.vsts.play.TestClient.main(TestClient.java:30)

{http://xml.apache.org/axis/}hostname:tst-028-04452

java.net.SocketException: Connection reset
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at 
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:277)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at SNIP.whoAmI(SNIP.java:430)
at com.mrwpro.vsts.play.TestClient.main(TestClient.java:30)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at 
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1110)
at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1391)
at 
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at 

RE: want to put interface declaration for my scheme objects into wsdl?

2005-06-27 Thread Mick Knutson

Can anyone please help me with this?

I get this generated:

public class ConsumerType  implements java.io.Serializable {

But I need wsdl2java to generate this:
public class ConsumerType  implements com.baselogic.consumer.IConsumer, 
java.io.Serializable {






From: Mick Knutson [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: want to put interface declaration for my scheme objects into wsdl?
Date: Sun, 26 Jun 2005 11:37:23 -0700

I want to be able to define a standard set of interfaces for all my scheme 
classes.
Can I somehow add an implements=MySchemeInterface in the complext types 
such as with:


  xsd:complexType name=consumerActivityType 
implements=com.baselogic.MySchemeInterface

   xsd:sequence
xsd:element minOccurs=0 name=lastPinChangeDate 
type=xsd:string/
xsd:element minOccurs=0 name=lastPersonalCodeChangeDate 
type=xsd:string/

   /xsd:sequence
  /xsd:complexType




Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)





Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)




wsdl2java: what to do with client-side (re-)generated java bean classes

2005-06-27 Thread Nikita Tovstoles
I have a Swing application that is also a client of a web service I 
created. That Swing client uses several Java Bean classes, which are 
also used as arguments/return types in the said web service. When I use 
wsdl2java to generate client-side web service stubs, source code for 
these JavaBean data beans is also re-generated, so the client 
application ends up with 2 copies for each JavaBean:


-one in hand-written application.beans package, and
-one in wsdl2java-generated application.wsgenerated package.

Since the Swing part of my client app makes use of the application.beans 
package, I'd like to be able to pass *those* JavaBeans as args to web 
service operations. Is that reasonable? However, generated javaBean 
sources have some axis-added static methods not present in original 
JavaBeans  - such as getSerializer and getDeserializer. Does that mean 
that using hand-coded JavaBeans as args to webservice is not the right 
way to go, and I must use the generated source? If not, how do I 
reconcile having 2 versions of source code on client-side for my JavaBeans?


thanks
-nikita



Basic Setup Question - Newbie

2005-06-27 Thread Miller, Janet
Very basic question about setting up Axis and figuring out what I need
to install.  I just want to create a simple test web service that will
not be used in a production environment.  I need to install a servlet
container in order to use Axis.  Tomcat is suggested by Apache. Is this
all I will need?  Or will I also need to install a web server?

Also, I have the Java SDK 1.5 installed on my machine.  Do I need to use
J2EE?

Would JBoss be just as easy to use as Tomcat?  I believe JBoss includes
Tomcat.

Thanks,

Jan


Basic Setup Question - Newbie

2005-06-27 Thread Miller, Janet
Very basic question about setting up Axis and figuring out what I need
to install.  I just want to create a simple test web service that will
not be used in a production environment.  I need to install a servlet
container in order to use Axis.  Tomcat is suggested by Apache. Is this
all I will need?  Or will I also need to install a web server?

Also, I have the Java SDK 1.5 installed on my machine.  Do I need to use
J2EE?

Would JBoss be just as easy to use as Tomcat?  I believe JBoss includes
Tomcat.

Thanks,

Jan


Re: Basic Setup Question - Newbie

2005-06-27 Thread Nikita Tovstoles
Take a look at Axis documentation that comes with axis 1.2.1 distro 
zip(jar). Specifically, check out AXIS_HOME/docs/install.html. Tomcat 
should be enough for your purposes, you do not need a j2ee container.


Tomcat is essentially a web server that understands servlets,  ie a 
servlet container. JBoss is a brand of application servers (J2EE servers 
specifically), so it does what tomcat does + some other stuff 
(Enterprise Java Beans, J2EE security and such). Therefore, since JBoss 
== Tomcat + other stuff,  in my opinion, using JBoss would be more 
complex than using Tomcat.


-nikita

Miller, Janet wrote:


Very basic question about setting up Axis and figuring out what I need
to install.  I just want to create a simple test web service that will
not be used in a production environment.  I need to install a servlet
container in order to use Axis.  Tomcat is suggested by Apache. Is this
all I will need?  Or will I also need to install a web server?

Also, I have the Java SDK 1.5 installed on my machine.  Do I need to use
J2EE?

Would JBoss be just as easy to use as Tomcat?  I believe JBoss includes
Tomcat.

Thanks,

Jan
 




--
===
Nikita Tovstoles

Demolab, Office of Strategic Insight
Sun Microsystems, Inc.
4170 Network Circle
USCA17, Office 3705
Mailstop USCA17-205
Santa Clara CA 95054
e-mail: [EMAIL PROTECTED]
office: 408-276-5348 / x15348
cell: 650-996-8173
===



Re: want to put interface declaration for my scheme objects into wsdl?

2005-06-27 Thread Anne Thomas Manes
Mick,

Schema elements and types aren't objects or classes, so they don't
implement interfaces.

You can define an abstract type, and then you extend that type by
extension or by restriction. Using abstract types is pretty much
guaranteed to cause you interoperability problems, though, so you
shouldn't do it.

Here's a hint: XML is not object oriented. Don't try to apply OO concepts. 

Anne

On 6/26/05, Mick Knutson [EMAIL PROTECTED] wrote:
 I want to be able to define a standard set of interfaces for all my scheme
 classes.
 Can I somehow add an implements=MySchemeInterface in the complext types
 such as with:
 
xsd:complexType name=consumerActivityType
 implements=com.baselogic.MySchemeInterface
 xsd:sequence
  xsd:element minOccurs=0 name=lastPinChangeDate type=xsd:string/
  xsd:element minOccurs=0 name=lastPersonalCodeChangeDate
 type=xsd:string/
 /xsd:sequence
/xsd:complexType
 
 
 
 
 Thank You
 Mick Knutson
 
 Sr. Java/J2EE Consultant
 BASE logic, inc.
 (415) 648-1804 (S.F., CA)
 http://www.BASELogic.com
 
 HP Consulting Services (Walnut Creek, CA)
 
 



RE: deserializing error

2005-06-27 Thread Patrick Quinn
Hi
 
I added the lines suggested below to the deploy.wsdd file (actually, I only 
needed to add the encoding style URL, the rest was already there).
 
The error remains the same:
 
Exception in thread main AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Deserializing parameter 
'ProvidentResponse':  could not find deserializer for type 
{http://ProvidentConnector.ProvidentResponseToOrch}ProvidentResponse
 faultActor:
 faultNode:
 faultDetail:
 
 
Clearly I'm lacking a deserializer!
 
Does this remain a deployment issue, or is there more than meets the eye going 
on here - should I be programatically providing a deserializer?
 
Thanks in advance for any opinions proffered.
 
Pat
 

-Original Message- 
From: Ferruh Zamangoer [mailto:[EMAIL PROTECTED] 
Sent: Mon 27/06/2005 11:13 
To: axis-user@ws.apache.org 
Cc: 
Subject: AW: deserializing error



Yes you have to edit manually your deploy.wsdd with the following lines:

 

typeMapping

xmlns:ns=http://ProvidentConnector.ProvidentResponseToOrch 
http://ProvidentConnector.ProvidentResponseToOrch 

qname=ns: ProvidentResponse

type=java:[packagename of your class]. ProvidentResponse

serializer=org.apache.axis.encoding.ser.BeanSerializerFactory


deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory

encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;

  /

 

Then you must redeploy you service.

 

Hope it works.

 

Regards

Ferruh 

 


  _  


Von: Patrick Quinn [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 26. Juni 2005 19:55
An: axis-user@ws.apache.org
Betreff: RE: deserializing error

 

Just bouncing this one, as the question was fairly generic:

 

 The server-config.wsdd file I notice does not have the bean mapping 
described by Mark.

 Should I add this manually myself?

 

Is it common for the wsdl-generated wsdd deployment files to be lacking?

 

I would have expected AXIS to cover everything off, or if not, at least 
provide some kind of tutorial/guide on how to modify the deployment files where 
they are lacking.

 

Thanks


Pat

 

-Original Message- 
From: Patrick Quinn 
Sent: Sat 25/06/2005 16:25 
To: axis-user@ws.apache.org; axis-user@ws.apache.org 
Cc: 
Subject: RE: deserializing error

Hi Guys

Thanks for your responses, really appreciated.

Yes, the code segment exists as follows:

qName = new 
javax.xml.namespace.QName(http://ProvidentConnector.ProvidentResponseToOrch;, 
ProvidentResponse);
cachedSerQNames.add(qName);
cls = 
ProvidentResponseToOrch.ProvidentConnector.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
}

I think this looks correct.

The server-config.wsdd file I notice does not have the bean 
mapping described by Mark. Should I add this manually myself?

I'm new to Axis - I presume the server-config.wsdd is updated 
when a service is deployed (using the AdminService command). So my guess is 
that the deploy.wsdd generated by WSDL2Java is not generating the type mapping. 
Should it be doing so, or is it understood that the user should add this 
information separately?

Thanks again for all the help, it is very useful and 
enlightening.

Patrick



-Original Message-
From: Ferruh Zamangör [mailto:[EMAIL PROTECTED]
Sent: Fri 24/06/2005 18:04
To: axis-user@ws.apache.org
Cc:
Subject: RE: deserializing error
   
   

Hi Patrick,
   
you have a generated stub class. look at your stub 
class if this code
segement exists
   
qName = new 
javax.xml.namespace.QName(urn:[yourpacckagename]

Problem getting Axis to compile JWS

2005-06-27 Thread Miller, Janet
I have just finished installing Axis and Tomcat.  I'm using Tomcat 5.5.9
and Java 1.5.0.03.  My happy page displayed correctly, but when I tried
to a sample JWS web service that comes with Axis as follows:

http://localhost:8080/axis/EchoHeaders.jws?method=list 

I got the following error:

  faultcodesoapenv:Server.userException/faultcode 
  faultstringjava.lang.RuntimeException: No compiler found in your
classpath! (you may need to add 'tools.jar')/faultstring 

I tried adding tools.jar to the tomcat\common\lib directory, but that
didn't work either.

I thought I saw someone somewhere having the same problem and then going
back to Java 1.4 and Tomcat 4.x and having it work.

Does anyone know what I need to do?

Thanks,

Jan


java.net.SocketException: Broken pipe

2005-06-27 Thread Jay, Thomas
I have a client program that works fine on Windows but on Solaris I get
the following error:

15:08:27,251 ERROR [Message] java.io.IOException:
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106)
at org.apache.axis.utils.ByteArray.writeTo(ByteArray.java:375)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:265)
at org.apache.axis.Message.writeTo(Message.java:519)
at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:504)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
at org.apache.axis.client.Call.invoke(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2413)
at org.apache.axis.client.Call.invoke(Call.java:2336)
at org.apache.axis.client.Call.invoke(Call.java:1793)

Any suggestions ?
 


Please need some urgent help on java Exception JAXRPCTIE01

2005-06-27 Thread Dipty Maybhate










Hi,





I have written a client to invoke a few services. I created
the stubs using WSDL2Java and called a test program using the files created. It
generates the stack trace as follows

I am passing all the parameters; none is blank and is of the
same type as mentioned in the WSDL.





In cancel notification..

AxisFault

faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Client

faultSubcode:

faultString:
JAXRPCTIE01: caught exception while handling request: deserializat

ion error:
java.lang.NumberFormatException: For input string: quot;quot;

faultActor:

faultNode:

faultDetail:


{http://xml.apache.org/axis/}stackTrace:JAXRPCTIE01: caught exception wh

ile handling request:
deserialization error: java.lang.NumberFormatException: Fo

r input string:
quot;quot;


at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder

.java:221)


at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.

java:128)


at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ

ationContext.java:1087)


at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme

nt(AbstractSAXParser.java:633)


at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan

EndElement(XMLNSDocumentScannerImpl.java:713)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:834)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)


at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab

stractSAXParser.java:1242)


at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)


at org.apache.axis.encoding.DeserializationContext.parse(Deserialization

Context.java:227)


at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)


at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)


at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j

ava:796)


at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)




at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

y.java:32)


at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)


at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)


at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)


at org.apache.axis.client.Call.invokeEngine(Call.java:2765)


at org.apache.axis.client.Call.invoke(Call.java:2748)


at org.apache.axis.client.Call.invoke(Call.java:2424)


at org.apache.axis.client.Call.invoke(Call.java:2347)


at org.apache.axis.client.Call.invoke(Call.java:1804)


at com.messageone.af.wsdl.AlertFindNotificationService.AlertFindNotifica

tionServiceBindingStub.cancelNotification(AlertFindNotificationServiceBindingStu

b.java:412)


at Tester.cancelNotification(Tester.java:126)


at Tester.runTest(Tester.java:42)


at Tester.main(Tester.java:52)




{http://xml.apache.org/axis/}hostname:Schmoe



JAXRPCTIE01: caught
exception while handling request: deserialization error: jav

a.lang.NumberFormatException:
For input string: 


at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder

.java:221)


at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.

java:128)


at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ

ationContext.java:1087)


at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme

nt(AbstractSAXParser.java:633)


at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan

EndElement(XMLNSDocumentScannerImpl.java:713)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:834)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)


at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab

stractSAXParser.java:1242)


at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)


at org.apache.axis.encoding.DeserializationContext.parse(Deserialization

Context.java:227)


at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)


at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)


at 

Re: Please need some urgent help on java Exception JAXRPCTIE01

2005-06-27 Thread Jeff Greif
You specified a parameter as a number, but then supplied no value.  The 
empty string  is not a valid element or attribute value for a numeric 
type.


Jeff

Dipty Maybhate wrote:

 


Hi,

 

 

I have written a client to invoke a few services. I created the stubs 
using WSDL2Java and called a test program using the files created. It 
generates the stack trace as follows


I am passing all the parameters; none is blank and is of the same type 
as mentioned in the WSDL.


*/ /*

*/ /*

*/In cancel notification../*

*/AxisFault/*

*/ faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client/*

*/ faultSubcode:/*

*/ faultString: JAXRPCTIE01: caught exception while handling request: 
deserializat/*


*/ion error: java.lang.NumberFormatException: For input string: 
quot;quot;/*


*/ faultActor:/*

*/ faultNode:/*

*/ faultDetail:/*

*/{http://xml.apache.org/axis/}stackTrace:JAXRPCTIE01: caught 
exception wh/*


*/ile handling request: deserialization error: 
java.lang.NumberFormatException: Fo/*


*/r input string: quot;quot;/*

*/at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder/*


*/.java:221)/*

*/at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder./*


*/java:128)/*

*/at 
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ/*


*/ationContext.java:1087)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme/*


*/nt(AbstractSAXParser.java:633)/*

*/at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan/*


*/EndElement(XMLNSDocumentScannerImpl.java:713)/*

*/at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp/*


*/l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)/*

*/at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp/*


*/l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X/*


*/ML11Configuration.java:834)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X/*


*/ML11Configuration.java:764)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser./*


*/java:148)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab/*


*/stractSAXParser.java:1242)/*

*/at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)/*

*/at 
org.apache.axis.encoding.DeserializationContext.parse(Deserialization/*


*/Context.java:227)/*

*/at 
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)/*


*/at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)/*

*/at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j/*


*/ava:796)/*

*/at 
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)/*


*/ /*

*/at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg/*


*/y.java:32)/*

*/at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)/*


*/at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)/*

*/at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)/*


*/at org.apache.axis.client.Call.invokeEngine(Call.java:2765)/*

*/at org.apache.axis.client.Call.invoke(Call.java:2748)/*

*/at org.apache.axis.client.Call.invoke(Call.java:2424)/*

*/at org.apache.axis.client.Call.invoke(Call.java:2347)/*

*/at org.apache.axis.client.Call.invoke(Call.java:1804)/*

*/at 
com.messageone.af.wsdl.AlertFindNotificationService.AlertFindNotifica/*


*/tionServiceBindingStub.cancelNotification(AlertFindNotificationServiceBindingStu/*

*/b.java:412)/*

*/at Tester.cancelNotification(Tester.java:126)/*

*/at Tester.runTest(Tester.java:42)/*

*/at Tester.main(Tester.java:52)/*

*/ /*

*/{http://xml.apache.org/axis/}hostname:Schmoe/*

*/ /*

*/JAXRPCTIE01: caught exception while handling request: 
deserialization error: jav/*


*/a.lang.NumberFormatException: For input string: /*

*/at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder/*


*/.java:221)/*

*/at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder./*


*/java:128)/*

*/at 
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ/*


*/ationContext.java:1087)/*

*/at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme/*


*/nt(AbstractSAXParser.java:633)/*

*/at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan/*


*/EndElement(XMLNSDocumentScannerImpl.java:713)/*

*/at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp/*


*/l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)/*

*/at 

RE: Please need some urgent help on java Exception JAXRPCTIE01

2005-06-27 Thread Steven Smith



Hi,
 You have a NumberFormatException being thrown, so a 
String value is being converted into a Number through a method like 
Integer.parseInt or Double.parseDouble. Check your code for these types of 
methods, note there is one for each data type Float, Long, etc. Then check to 
see what values are being passed to this method, you will find that it is not a 
numerical string. According to your error message it is an empty string. Yoiu 
may need to check for empty strings yourself and set to a default 
value.


-- Steven Smith [EMAIL PROTECTED]Software 
Developer / Analyst

  
  

  


  

  Telephone
  :
  03 6223 1999

  Facsimile
  :
  03 6223 1988

  Web
  :
  www.geometryit.com

  Address
  :
  31 Salamanca Square, Battery Point, TAS 7004, Australia

  Postal
  :
  PO Box 844, Sandy Bay, TAS 7006, 
Australia

 




From: Dipty Maybhate 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 June 2005 
8:39 AMTo: axis-user@ws.apache.orgSubject: Please need 
some urgent help on java Exception JAXRPCTIE01



Hi,


I have written a client to invoke a 
few services. I created the stubs using WSDL2Java and called a test program 
using the files created. It generates the stack trace as 
follows
I am passing all the parameters; 
none is blank and is of the same type as mentioned in the 
WSDL.


In 
cancel notification..
AxisFault
faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: 
JAXRPCTIE01: caught exception while handling request: 
deserializat
ion 
error: java.lang.NumberFormatException: For input string: 
quot;quot;
faultActor:
faultNode:
faultDetail:
 
{http://xml.apache.org/axis/}stackTrace:JAXRPCTIE01: caught exception 
wh
ile 
handling request: deserialization error: java.lang.NumberFormatException: 
Fo
r 
input string: quot;quot;
 
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:221)
 
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:128)
 
at 
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
 
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
 
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
EndElement(XMLNSDocumentScannerImpl.java:713)
 
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
 
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
 
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
 
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
 
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
 
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
 
at 
javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
 
at 
org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
 
at 
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
 
at 
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
 
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:796)
 
at 
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

 
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
 
at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 
at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 
at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 
at 
org.apache.axis.client.Call.invokeEngine(Call.java:2765)
 
at org.apache.axis.client.Call.invoke(Call.java:2748)
 
at org.apache.axis.client.Call.invoke(Call.java:2424)
 
at org.apache.axis.client.Call.invoke(Call.java:2347)
 
at org.apache.axis.client.Call.invoke(Call.java:1804)
 
at 
com.messageone.af.wsdl.AlertFindNotificationService.AlertFindNotifica
tionServiceBindingStub.cancelNotification(AlertFindNotificationServiceBindingStu
b.java:412)
 
at Tester.cancelNotification(Tester.java:126)
 
at Tester.runTest(Tester.java:42)
 
at Tester.main(Tester.java:52)

 
{http://xml.apache.org/axis/}hostname:Schmoe

JAXRPCTIE01: 
caught exception while handling request: deserialization error: 
jav
a.lang.NumberFormatException: 
For input string: ""
 
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:221)
 
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:128)
 
at 
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
 
at 

Problem setting up Axis

2005-06-27 Thread Miller, Janet
I have just finished installing Axis and Tomcat.  I'm using Tomcat 5.5.9
and Java 1.5.0.03.  My happy page displayed correctly, but when I tried
to access a sample JWS web service that comes with Axis as follows:

http://localhost:8080/axis/EchoHeaders.jws?method=list 

I got the following error:

  faultcodesoapenv:Server.userException/faultcode 
  faultstringjava.lang.RuntimeException: No compiler found in your
classpath! (you may need to add 'tools.jar')/faultstring 

I tried adding tools.jar to the tomcat\common\lib directory, but that
didn't work either.

I thought I saw someone somewhere having the same problem and then going
back to Java 1.4 and Tomcat 4.x and having it work.

Does anyone know what I need to do?

Thanks,

Jan


RE: Problem setting up Axis

2005-06-27 Thread Miller, Janet
I am also missing a file called wsdl4j.jar which the Axis documentation
says is supposed to be in my CLASSPATH and AXISCLASSPATH.  I've
installed everything and don't have this file on my machine.  Where does
this file come from?  Could someone check to see if this file exists on
your machine?  It is supposed to be in the \webapps\axis\WEB-INF\lib
directory.

I can't get Axis to work.  The happyAxis page is displaying properly
though.

Thanks,

Jan


RE: Problem setting up Axis

2005-06-27 Thread anna.veirauchs
Heya,

I have a wsdl4j-1.5.1.jar in that directory (I copied the entire
contents of \axis-bin-1_2\axis-1_2\webapps\ to Tomcat since I'm just in
the testing phase).  I'm using Tomcat 5.0.28 and Java SDK 1.4.2_07,
though.

Anna


SunGard Advisor Technologies
916-288-6431 ph
916-288-6500 fax

 CONFIDENTIALITY NOTE: The information contained in this e-mail and in
any attached files is confidential and intended for the internal use of
the individual named in the e-mail.  This information should not be
duplicated or distributed unless an express written consent is obtained
from SunGard Advisor Technologies in advance.  If you are not the
intended recipient, please notify me immediately and delete any
attachments. 
 
 


-Original Message-
From: Miller, Janet [mailto:[EMAIL PROTECTED]
Sent: Monday, June 27, 2005 4:05 PM
To: axis-user@ws.apache.org
Subject: RE: Problem setting up Axis


I am also missing a file called wsdl4j.jar which the Axis documentation
says is supposed to be in my CLASSPATH and AXISCLASSPATH.  I've
installed everything and don't have this file on my machine.  Where does
this file come from?  Could someone check to see if this file exists on
your machine?  It is supposed to be in the \webapps\axis\WEB-INF\lib
directory.

I can't get Axis to work.  The happyAxis page is displaying properly
though.

Thanks,

Jan


Help needed to get the parameter order and thier equivalent java type

2005-06-27 Thread Ravi Krishnamurthy

Hello:
Would appreciate if somebody should give some pointers how to do dynamic 
invocation to capture the parameter order and their equivalent java 
class name for basic types.


this is very urgent. Thanks for your time,
regards,
Ravi