SSL & SOAP: Error Opening socket: null

2001-11-29 Thread Naveen Kulkarni
   Hi,    My java Client for a .Net WebService using SSL throws a error Caught SOAPException (SOAP-ENV:Client): Error opening socket: null  WHY ?  I am using a java client to use a .Net WebService (on IIS 5.0) which uses SSL for its data security and Client authorization is not required, now after reading articles on how to use SSL with SOAP using JSSE, I could gather that it is sufficient for me to include this piece of code:        System.setProperty( "java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol" );    Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );    After I included the above code, complied and executed it gave the error: Caught SOAPException (SOAP-ENV:Client): Error opening socket: null  Can any one please explain me why is this causing problem, am I missing anything or do I have to add more code to handle sockets etc? TIA,NaveenGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


RE: solved: calling stateless EJB via SOAP

2001-11-29 Thread Bernd Proissl

> That's a good idea, thanks for the info.

Not as good as yours:

adding the ejb-jar to the classpath in jboss' startup script also seems to break
jboss' auto-deploy feature :-(

> I solved the problem differently - I added my jar to JBOSS_HOME/dist/lib/ext.  But 
>it accomplishes the same thing - it 
> gets the jar into Tomcat's classpath.

this works for me also.

> So, I am up and running but I don't think either of these solutions is ideal.  I 
>don't like junking up startup scripts or 
> lib/ext with application-specific stuff.  When I deploy a web application, I can add 
>jars to the application's classpath 
> by putting them WEB-INF/lib or adding to the manifest.  Is there no way to do 
>something similar in the soap deployment 
> descriptor when deploying a soap service?  

AFAIK no, but i am pretty new to soap.

> It requires you to specify the name of the java class that implements the 
> service but doesn't seem to provide any way for you to tell it where to find that 
>class.
> This sounds like a deficiency to me...

interesting.

Bernd




getAddress problem

2001-11-29 Thread Grabner Michael

Hi!

I'm trying to run the sample 'addressbook' which doesn't run on my
machine yet. I already searched in archive
for the same problem. I also found many postings with the same error,
but there wasn't a real solution which seemed to be logical.
So I once more want to ask if anybody can help me.

Services are deployed. I also changed tomcat.sh, so that xerces.jar is
used before other parsers. However, when I try to GetAddress
of "John B. Good" with the script getaddress.sh(->added after the error
message), then the following error-message appears:

Generated fault:
Fault Code   = SOAP-ENV:Client
Fault String = Deployment error in SOAP service 'urn:AddressFetcher':
class name 'samples.addressbook.Address' could not be resolved:
samples.addressbook.Address

getaddress.sh:
-
#!/bin/sh
CLASSPATH=/home/michael/soap/soap-2_2
CLASSPATH=${CLASSPATH}:/home/michael/soap/soap-2_2/lib/soap.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/javamail-1.2/mail.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/jaf-1.0.1/activation.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/xerces-1_2_3/xerces.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/jakarta-tomcat-3.2.3/webapps/soap/WEB-INF/classes

export CLASSPATH
java samples.addressbook.GetAddress
http://localhost:8080/soap/servlet/rpcrouter "John B. Good"

With 'mystartup.sh' I start tomcat
mystartup.sh:

#!/bin/sh
JAVA_HOME=/usr/java/jdk1.3.1_01
export JAVA_HOME
TOMCAT_HOME=/home/michael/soap/jakarta-tomcat-3.2.3
export TOMCAT_HOME
CLASSPATH=/home/michael/soap/soap-2_2/lib/soap.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/javamail-1.2/mail.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/jaf-1.0.1/activation.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/xerces-1_2_3/xerces.jar
CLASSPATH=${CLASSPATH}:/home/michael/soap/soap-2_2
CLASSPATH=${CLASSPATH}:/home/michael/soap/jakarta-tomcat-3.2.3/webapps/soap/WEB-INF/classes

export CLASSPATH
$TOMCAT_HOME/bin/startup.sh

Thanks,
Mike






RE: XML Payload Performance

2001-11-29 Thread Wilkins, Craig


Compare the SOAP message payload of the 300K string to the payload of the
String that is XML?  There has to be something different.  What does your
soap service method do with the input string?  Is there a performance issue
as it parses it into DOM, etc?  What if you just print it out, do you see
the same performance issue?

  



-Original Message-
From: Hashimoto, Mike [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 7:06 PM
To: Soap (E-mail)
Subject: XML Payload Performance


Hello All,

Problem: Shipping an XML string, ~300K in length.  When Apache Soap 2.2
receives, it takes about 35+ sec's before the actual method on the server
side gets dispatched!  There are many tags and the marshalling/unmarshalling
of the XML data is causing the extreme delay.  The server CPU is railed at
100% during this time.  Moreover, a network monitor was used to monitor the
packet and acknowledgements to verify the issue.

Questions:  We are using a .NET client and Apache Soap 2.2 server (currently
on Win2000 with Tomcat 3.2.3).  I've seen here (on the mailing list) that
there is no support for MIME mail attachments yet in .NET.  I know I could
opt for doing my own marshalling within the Soap envelope.

  Are there any other suitable options at this time?
  Anyone know the timeframe for .NET support of attachments?

I was also under the impression that LITERAL XML encoding was not yet
supported in .NET (i.e. XML string was the "lowest common denominator").

As an aside, also sent ~300K non-XML string data and it gets sent in < 1
sec.

Any advice much appreciated.

Regards,
  mh



server freezes

2001-11-29 Thread Oleg

Hi,

I was wondering if any of you run into this problem before. My server froze
twice today on a perfectly working, simple call. Once I restarted tomcat, it
worked fine again, and I cant duplicate the problem anymore, hopefully I
never will :) but still wanted to know if its an ongoing problem with Tomcat
or Apache SOAP?

Thanks
Oleg




getting boolean

2001-11-29 Thread Oleg

Hmm thats interesting, didnt think I gonna run into this problem :)
How can I get back boolean? if I do result.getValue(); I will get true or
false, however cannot cast it to boolean ofcourse since its an Object, is
there a way to get boolean value? Ofcourse I can cast it to wrapper Boolean
and than get booleanValue but is thats the only way?

Thanks
Oleg




RE: Installing apache-soap on IIS and using tomcat 3.1

2001-11-29 Thread William Brogden



> -Original Message-
> From: Rino Srivastava [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, November 29, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE:Installing apache-soap on IIS and using tomcat 3.1
> 
> 
> Hello:
> 
> I was wondering if someone can guide me about the 
> installation details for apache-soap on IIS which uses Tomcat 
> 3.1 for running servlets and JSPs.
> 
> I have tried to install apache-soap on IIS on which Tomcat 
> 3.1 is running. I put the soap.jar, activation.jar and 
> mail.jar in the tomcat/lib directory. I also put the 
> xerces.jar in the classpath in the beginning.
> 
> I deployed the service using the Apache-soap Admin tool.  
> Then when I try to run any of the samples for instance 
> stockquote example or any other example for that matter, I 
> get the same error message as follows:
> 
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> 
> Also, the client and server programs for any particular 
> example are in the
> folder: 
> 
> C:/JBuilder4/tomcat/webapps/soap/Web-inf/classes/samples.
> 
> Can someone suggest what I could be missing?
> 
> Thanks.
> Rino

The no such method error for QName is likely caused by the fact that
your JVM is picking up an earlier version of an XML parser before it
comes to Xerces. This earlier version does not support namespaces.
The JVM looks at the standard extensions directory JAVA-HOME/jre/lib/ext
BEFORE IT LOOKS AT YOUR CLASSPATH!!!
Therefore - if you have an earlier parser in that directory, that is
what is picked up.
I wasted about 2 days on this one.
Read the findingclasses.html file in your tooldocs directory for the
Java SDK to see why.

WBB
 






RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

Yes I already added that in the tomcat.bat file.

Rino

-Original Message-
From: Vinod Soni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError


You will also have to take care that xerces.jar appears first in the
classpath. so that the latest parser version takes precedence.

- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 4:19 PM
Subject: RE: NoSuchMethodError


> I have added all the required jar files in the classpath(soap.jar,
> activation.jar, mail.jar and xerces.jar).  I have also deployed the
service.
> What could be missing?
>
> Thanks.
> Rino
>
> -Original Message-
> From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
>
>
> I tried and no rpoblem.check ur classpath
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 8:11 AM
> Subject: NoSuchMethodError
>
>
> > Hi there:
> >
> > I am trying to run your HelloServer.java and Client.java programs using
> soap
> > and java.
> >
> > I get the following error message:
> >
> > Exception in thread "main" java.lang.NoSuchMethodError
> > at org.apache.soap.util.xml.Qname.
> > at org.apache.soap.util.xml.matches
> > at org.apache.soap.Envelop.unmarshall
> > at org.apache.soap.rpc.Call.invoke
> > at hello.Client.main
> > I am attaching the client and server files:
> >  <>  <>
> >
> > Can you please suggest how I can fix the above error?
> >
> > Thanks in advance.
> > Rino Srivastava
> >
> >



RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

By current directory do you mean to say the directory in which my Client and
Server programs reside?

Rino

-Original Message-
From: Alex Kashko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: NoSuchMethodError


is the current directory on your classpath?

 --- Rino Srivastava <[EMAIL PROTECTED]> wrote: > I have
added all the
required jar files in the classpath(soap.jar,
> activation.jar, mail.jar and xerces.jar).  I have also deployed the
service.
> What could be missing?
> 
> Thanks.
> Rino
> 
> -Original Message-
> From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
> 
> 
> I tried and no rpoblem.check ur classpath
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 8:11 AM
> Subject: NoSuchMethodError
> 
> 
> > Hi there:
> >
> > I am trying to run your HelloServer.java and Client.java programs using
> soap
> > and java.
> >
> > I get the following error message:
> >
> > Exception in thread "main" java.lang.NoSuchMethodError
> > at org.apache.soap.util.xml.Qname.
> > at org.apache.soap.util.xml.matches
> > at org.apache.soap.Envelop.unmarshall
> > at org.apache.soap.rpc.Call.invoke
> > at hello.Client.main
> > I am attaching the client and server files:
> >  <>  <>
> >
> > Can you please suggest how I can fix the above error?
> >
> > Thanks in advance.
> > Rino Srivastava
> >
> > 

=
Thinking (n) Activity of logical reasoning:
 hated by Governments, religious organisations of all religious,
 managers and Civil Services
Heretic (n)  From a greek word meaning "to think for oneself"

__
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and
Music Charts
http://uk.my.yahoo.com



RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

Thanks, I'll try this out.

Rino

-Original Message-
From: Lene Bredgaard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: RE: NoSuchMethodError


I have recently been introduced to a nice little tool, that helped me
getting my classpath right.
http://www.javaworld.com/javaworld/javatips/jw-javatip105.html

Lene

-Original Message-
From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 12:40 AM
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError


I tried and no rpoblem.check ur classpath
- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:11 AM
Subject: NoSuchMethodError


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs
using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and server files:
>  <>  <>
>
> Can you please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>



Re: difference between terms "marshall" and "serialize"

2001-11-29 Thread Xiao Juguang



Subject: difference between terms "marshall" and "serialize"


> Can anyone explain to me what the difference (if there
> is any) is between the terms "marshall" and
> "serialize"?

I did not find.It seems they all mean to convert an object into a string.
Any else?




XML Payload Performance

2001-11-29 Thread Hashimoto, Mike

Hello All,

Problem: Shipping an XML string, ~300K in length.  When Apache Soap 2.2
receives, it takes about 35+ sec's before the actual method on the server
side gets dispatched!  There are many tags and the marshalling/unmarshalling
of the XML data is causing the extreme delay.  The server CPU is railed at
100% during this time.  Moreover, a network monitor was used to monitor the
packet and acknowledgements to verify the issue.

Questions:  We are using a .NET client and Apache Soap 2.2 server (currently
on Win2000 with Tomcat 3.2.3).  I've seen here (on the mailing list) that
there is no support for MIME mail attachments yet in .NET.  I know I could
opt for doing my own marshalling within the Soap envelope.

  Are there any other suitable options at this time?
  Anyone know the timeframe for .NET support of attachments?

I was also under the impression that LITERAL XML encoding was not yet
supported in .NET (i.e. XML string was the "lowest common denominator").

As an aside, also sent ~300K non-XML string data and it gets sent in < 1
sec.

Any advice much appreciated.

Regards,
  mh



Newbie installation problems

2001-11-29 Thread Adam

I am trying to get SOAP working with partial success on the following
platform

NT4 SP6a
JDK 1.2
Apache 1.3
Tomcat 3.3
Xerces 1.4
Apache-Soap 2-2

The problem I am having is that when I point my browser to the MessageRouter
URL I get the correct SOAP response from the server i.e about not speaking
HTTP GET, however when I try the rpcrouter URL I get the following error

Error: 500
Location: /soap/servlet/rpcrouter
Internal Servlet Error:

java.lang.NullPointerException
 at org.apache.soap.server.http.RPCRouterServlet.init(Compiled Code)
 at javax.servlet.GenericServlet.init(GenericServlet.java)
 at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source)
 at org.apache.tomcat.facade.ServletHandler.init(Compiled Code)
 at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
 at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
Code)
 at java.lang.Thread.run(Thread.java:479)

Anyone have any ideas or pointers ? I have searched the FAQ and the archives
for this list and cannot find this particular error. As far as I am aware my
classpath only contains directories in 8.3 format.

TIA




Antwort: RE: Security issue - deploy

2001-11-29 Thread Ruben_Inoto


Thank you very much, making the .ds file read-only seems the best solution
for me..

  thank you again,

  Ruben





"Wilkins, Craig" <[EMAIL PROTECTED]> on 11/29/2001 03:43:04 PM

Bitte antworten an [EMAIL PROTECTED]

An:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Kopie:
Thema:RE: Security issue - deploy

I know of a couple of options..

Change the URL for the JSP page where you can deploy, etc.

Modify the code in rpcrouter so that it can't change the services.

Make the file that contains the deployed SOAP services read-only.

Put a proxy or firewall in front of your soap server that filters out any
requests that aren't the SOAP calls that you are expecting.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:23 AM
To: [EMAIL PROTECTED]
Subject: Security issue - deploy


Hi all,

  do you know any way to prevent "malicious" persons from deploying
(undeploying) a service in my SOAP Server? I mean, is there anything
integrated ni SOAP to accept "deploy" ("undeploy") calls only from specific
IPs or something? I wouldn't like my services being undeployed by
anyone

  Thank you...











RE: Security issue - deploy

2001-11-29 Thread Wilkins, Craig

You can protect the JSP page by doing password protection, etc.  However,
the rpcrouter Servlet knows how to deploy services too.  You need to guard
against this as well.



-Original Message-
From: Oleg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 1:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Security issue - deploy


Can you just place directory level password protection where the JSP page is
sitting, so anyone who will try to access that page will have to enter
username/password?

Sincerely,
Oleg

-Original Message-
From: Wilkins, Craig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 6:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Security issue - deploy


I know of a couple of options..

Change the URL for the JSP page where you can deploy, etc.

Modify the code in rpcrouter so that it can't change the services.

Make the file that contains the deployed SOAP services read-only.

Put a proxy or firewall in front of your soap server that filters out any
requests that aren't the SOAP calls that you are expecting.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:23 AM
To: [EMAIL PROTECTED]
Subject: Security issue - deploy


Hi all,

  do you know any way to prevent "malicious" persons from deploying
(undeploying) a service in my SOAP Server? I mean, is there anything
integrated ni SOAP to accept "deploy" ("undeploy") calls only from specific
IPs or something? I wouldn't like my services being undeployed by
anyone

  Thank you...



method not supported

2001-11-29 Thread Rino Srivastava

Hi:

Has anyone come across this error message:

some methodname method not supported

What does this mean?

Thanks.
Rino



RE:Installing apache-soap on IIS and using tomcat 3.1

2001-11-29 Thread Rino Srivastava

Hello:

I was wondering if someone can guide me about the installation details for
apache-soap on IIS which uses Tomcat 3.1 for running servlets and JSPs.

I have tried to install apache-soap on IIS on which Tomcat 3.1 is running.
I put the soap.jar, activation.jar and mail.jar in the tomcat/lib directory.
I also put the xerces.jar in the classpath in the beginning.

I deployed the service using the Apache-soap Admin tool.  Then when I try to
run any of the samples for instance stockquote example or any other example
for that matter, I get the same error message as follows:

Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.soap.util.xml.Qname.
at org.apache.soap.util.xml.matches
at org.apache.soap.Envelop.unmarshall
at org.apache.soap.rpc.Call.invoke
at hello.Client.main

Also, the client and server programs for any particular example are in the
folder: 

C:/JBuilder4/tomcat/webapps/soap/Web-inf/classes/samples.

Can someone suggest what I could be missing?

Thanks.
Rino





difference between terms "marshall" and "serialize"

2001-11-29 Thread Mark Hansen

Can anyone explain to me what the difference (if there
is any) is between the terms "marshall" and
"serialize"?

TIA,

Mark

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



RE: maintaining sessions

2001-11-29 Thread Chopra, Jitender

you can also take a look at 
http://marc.theaimsgroup.com/?t=10044868621&w=3&r=1

that explains it well

Thanks
Jitender
**

-Original Message-
From: Oleg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 1:45 PM
To: [EMAIL PROTECTED]
Subject: RE: maintaining sessions


Sure thing, take a look here
http://xml.apache.org/soap/docs/guide/migration.html

Bascially if you deploy service with session scope and you set
setMaintainSession(true) like

Call call = new Call ();
SOAPHTTPConnection shc = new SOAPHTTPConnection ();
shc.setMaintainSession (false);
call.setSOAPTransport (shc);

than everything done with this one particular call will belong to one
session. Hope it helps. But my questions is how can I maintain same session
over more than just one call :)

Sincerely,
Oleg


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:40 AM
To: [EMAIL PROTECTED]
Subject: RE: maintaining sessions


Oleg and all,

Maybe I missed something but I didn't realize there was the concept
of session using SOAP. That is unless you wrote something in house.
Could you please elaborate on the statement'I am aware that session
can be maintained for a call object if application deployed with
session scope'.

Thanks,

Chuck

-Original Message-
From: lists
Sent: Wednesday, November 28, 2001 8:03 PM
To: soap-user
Cc: lists
Subject: maintaining sessions


Hey everyone,

I know this question was asked before, and I am aware that session
can be
maintained for a call object if application deployed with session
scope.
However, I wanted to check if any of you guys found good tricks to
maintain
session over different call objects. Thank you

Oleg



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: Security issue - deploy

2001-11-29 Thread Oleg

Can you just place directory level password protection where the JSP page is
sitting, so anyone who will try to access that page will have to enter
username/password?

Sincerely,
Oleg

-Original Message-
From: Wilkins, Craig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 6:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Security issue - deploy


I know of a couple of options..

Change the URL for the JSP page where you can deploy, etc.

Modify the code in rpcrouter so that it can't change the services.

Make the file that contains the deployed SOAP services read-only.

Put a proxy or firewall in front of your soap server that filters out any
requests that aren't the SOAP calls that you are expecting.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:23 AM
To: [EMAIL PROTECTED]
Subject: Security issue - deploy


Hi all,

  do you know any way to prevent "malicious" persons from deploying
(undeploying) a service in my SOAP Server? I mean, is there anything
integrated ni SOAP to accept "deploy" ("undeploy") calls only from specific
IPs or something? I wouldn't like my services being undeployed by
anyone

  Thank you...




xsi:null attribute in Apache SOAP is wrong?

2001-11-29 Thread Porter, Nigel


Hi,

The SOAP 1.1 specification appears to state that null values should be
represented by the xsi:null="1" attribute, but Apache SOAP represents them
using xsi:null="true".  This is causing me a lot of interoperability
problems with other SOAP implementations which are expecting to see
xsi:null="1", and therefore don't recognise the value I'm sending in the RPC
request as actually being null.

Regards,

Nigel




RE: maintaining sessions

2001-11-29 Thread Oleg

Sure thing, take a look here
http://xml.apache.org/soap/docs/guide/migration.html

Bascially if you deploy service with session scope and you set
setMaintainSession(true) like

Call call = new Call ();
SOAPHTTPConnection shc = new SOAPHTTPConnection ();
shc.setMaintainSession (false);
call.setSOAPTransport (shc);

than everything done with this one particular call will belong to one
session. Hope it helps. But my questions is how can I maintain same session
over more than just one call :)

Sincerely,
Oleg


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:40 AM
To: [EMAIL PROTECTED]
Subject: RE: maintaining sessions


Oleg and all,

Maybe I missed something but I didn't realize there was the concept
of session using SOAP. That is unless you wrote something in house.
Could you please elaborate on the statement'I am aware that session
can be maintained for a call object if application deployed with
session scope'.

Thanks,

Chuck

-Original Message-
From: lists
Sent: Wednesday, November 28, 2001 8:03 PM
To: soap-user
Cc: lists
Subject: maintaining sessions


Hey everyone,

I know this question was asked before, and I am aware that session
can be
maintained for a call object if application deployed with session
scope.
However, I wanted to check if any of you guys found good tricks to
maintain
session over different call objects. Thank you

Oleg



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.




RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Thanks, Vinod.  I'm going to test your Client and Server today.

Rino

-Original Message-
From: Vinod Soni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Antwort: RE:NoSuchMethodError while running a soap client


You can deploy it through the admin tool also, just make sure that you don't
miss out on any required params.


- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:01 PM
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


> Hi vinod:
>
> Thanks for trying out the client and server programs.
>
> I looked at your Client and server programs that you tested on tomcat 3.2.
> They look exactly the same as the ones that I'm trying.  As regards the
> deployment descriptor, it is not sufficient to just deploy it via the
admin
> tool for apache-soap?
>
> -Original Message-
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> I just tried it on my Tomcat 3.2 and it worked fine. Dunno why it's not
> working for you..perhaps you are missing something somewhere. I am sending
> you my client and server classes. also find the deploymentdescriptor.
>
>
>
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 5:50 PM
> Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> > I'll try this out.  Thanks, Xavier.
> >
> > Rino
> >
> > -Original Message-
> > From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 11:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> >
> >
> > I remember there was something similar with installing Cocoon with
Tomcat.
> > There is an entry in the FAQ for this problem:
> > http://xml.apache.org/cocoon1/faqs.html#faq-normalize
> >
> > I did it with tomcat 3.2 and it works
> >
> > Hope this help
> >
> > Xavier
> >
> > At 11:39 29/11/01 -0600, you wrote:
> > >Tomcat 3.1
> > >
> > >-Original Message-
> > >From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> > >Sent: Thursday, November 29, 2001 11:22 AM
> > >To: [EMAIL PROTECTED]
> > >Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> > >
> > >
> > >What is your version of Tomcat?
> > >
> > >Xavier



AW: connect a .net service

2001-11-29 Thread juraj Lenharcik

thanks, looks fine on the first view :-)

-Ursprüngliche Nachricht-
Von: Christian Weyer [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 29. November 2001 19:13
An: [EMAIL PROTECTED]
Betreff: Re: connect a .net service


http://support.microsoft.com/support/kb/articles/q308/4/66.ASP

Regards,
Christian Weyer

   > The .NET Difference <

http://www.eyesoft.de/dotnet



juraj Lenharcik wrote:

> hi all,
> 
> i am new to soap. I have tryied some apache examples from xmethods. Some
of
> them worked fine, but with the .net services i have an problem. Is the
> procedure to connect a .net service similar to the apache soap one?
> if not can someone tel me how to connect a .net service from java? perhaps
a
> short code snipset.
> 
> 
> thanks
> juraj




Re: connect a .net service

2001-11-29 Thread Christian Weyer

http://support.microsoft.com/support/kb/articles/q308/4/66.ASP

Regards,
Christian Weyer

   > The .NET Difference <

http://www.eyesoft.de/dotnet



juraj Lenharcik wrote:

> hi all,
> 
> i am new to soap. I have tryied some apache examples from xmethods. Some of
> them worked fine, but with the .net services i have an problem. Is the
> procedure to connect a .net service similar to the apache soap one?
> if not can someone tel me how to connect a .net service from java? perhaps a
> short code snipset.
> 
> 
> thanks
> juraj





connect a .net service

2001-11-29 Thread juraj Lenharcik

hi all,

i am new to soap. I have tryied some apache examples from xmethods. Some of
them worked fine, but with the .net services i have an problem. Is the
procedure to connect a .net service similar to the apache soap one?
if not can someone tel me how to connect a .net service from java? perhaps a
short code snipset.


thanks
juraj



Re: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Vinod Soni

You can deploy it through the admin tool also, just make sure that you don't
miss out on any required params.


- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:01 PM
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


> Hi vinod:
>
> Thanks for trying out the client and server programs.
>
> I looked at your Client and server programs that you tested on tomcat 3.2.
> They look exactly the same as the ones that I'm trying.  As regards the
> deployment descriptor, it is not sufficient to just deploy it via the
admin
> tool for apache-soap?
>
> -Original Message-
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> I just tried it on my Tomcat 3.2 and it worked fine. Dunno why it's not
> working for you..perhaps you are missing something somewhere. I am sending
> you my client and server classes. also find the deploymentdescriptor.
>
>
>
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 5:50 PM
> Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> > I'll try this out.  Thanks, Xavier.
> >
> > Rino
> >
> > -Original Message-
> > From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 11:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> >
> >
> > I remember there was something similar with installing Cocoon with
Tomcat.
> > There is an entry in the FAQ for this problem:
> > http://xml.apache.org/cocoon1/faqs.html#faq-normalize
> >
> > I did it with tomcat 3.2 and it works
> >
> > Hope this help
> >
> > Xavier
> >
> > At 11:39 29/11/01 -0600, you wrote:
> > >Tomcat 3.1
> > >
> > >-Original Message-
> > >From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> > >Sent: Thursday, November 29, 2001 11:22 AM
> > >To: [EMAIL PROTECTED]
> > >Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> > >
> > >
> > >What is your version of Tomcat?
> > >
> > >Xavier




RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Hi vinod:

Thanks for trying out the client and server programs.

I looked at your Client and server programs that you tested on tomcat 3.2.
They look exactly the same as the ones that I'm trying.  As regards the
deployment descriptor, it is not sufficient to just deploy it via the admin
tool for apache-soap?

-Original Message-
From: Vinod Soni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Antwort: RE:NoSuchMethodError while running a soap client


I just tried it on my Tomcat 3.2 and it worked fine. Dunno why it's not
working for you..perhaps you are missing something somewhere. I am sending
you my client and server classes. also find the deploymentdescriptor.



- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 5:50 PM
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


> I'll try this out.  Thanks, Xavier.
>
> Rino
>
> -Original Message-
> From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> I remember there was something similar with installing Cocoon with Tomcat.
> There is an entry in the FAQ for this problem:
> http://xml.apache.org/cocoon1/faqs.html#faq-normalize
>
> I did it with tomcat 3.2 and it works
>
> Hope this help
>
> Xavier
>
> At 11:39 29/11/01 -0600, you wrote:
> >Tomcat 3.1
> >
> >-Original Message-
> >From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, November 29, 2001 11:22 AM
> >To: [EMAIL PROTECTED]
> >Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> >
> >
> >What is your version of Tomcat?
> >
> >Xavier



Re: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Vinod Soni

I just tried it on my Tomcat 3.2 and it worked fine. Dunno why it's not
working for you..perhaps you are missing something somewhere. I am sending
you my client and server classes. also find the deploymentdescriptor.



- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 5:50 PM
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


> I'll try this out.  Thanks, Xavier.
>
> Rino
>
> -Original Message-
> From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
> I remember there was something similar with installing Cocoon with Tomcat.
> There is an entry in the FAQ for this problem:
> http://xml.apache.org/cocoon1/faqs.html#faq-normalize
>
> I did it with tomcat 3.2 and it works
>
> Hope this help
>
> Xavier
>
> At 11:39 29/11/01 -0600, you wrote:
> >Tomcat 3.1
> >
> >-Original Message-
> >From: Xavier Renard [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, November 29, 2001 11:22 AM
> >To: [EMAIL PROTECTED]
> >Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
> >
> >
> >What is your version of Tomcat?
> >
> >Xavier



Client.java
Description: Binary data


HelloServer.java
Description: Binary data

http://xml.apache.org/xml-soap/deployment"; id="urn:Hello">
	
		
	
	org.apache.soap.server.DOMFaultListener




RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

I'll try this out.  Thanks, Xavier.

Rino

-Original Message-
From: Xavier Renard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 11:31 AM
To: [EMAIL PROTECTED]
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


I remember there was something similar with installing Cocoon with Tomcat.
There is an entry in the FAQ for this problem:
http://xml.apache.org/cocoon1/faqs.html#faq-normalize

I did it with tomcat 3.2 and it works

Hope this help

Xavier

At 11:39 29/11/01 -0600, you wrote:
>Tomcat 3.1
>
>-Original Message-
>From: Xavier Renard [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 29, 2001 11:22 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
>What is your version of Tomcat?
>
>Xavier



RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Xavier Renard

I remember there was something similar with installing Cocoon with Tomcat.
There is an entry in the FAQ for this problem:
http://xml.apache.org/cocoon1/faqs.html#faq-normalize

I did it with tomcat 3.2 and it works

Hope this help

Xavier

At 11:39 29/11/01 -0600, you wrote:
>Tomcat 3.1
>
>-Original Message-
>From: Xavier Renard [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 29, 2001 11:22 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client
>
>
>What is your version of Tomcat?
>
>Xavier




RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Tomcat 3.1

-Original Message-
From: Xavier Renard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Antwort: RE:NoSuchMethodError while running a soap client


What is your version of Tomcat?

Xavier



RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Xavier Renard

What is your version of Tomcat?

Xavier




RE: Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Ruben:

I already did that.  What else could I be doing wron or missing?

Rino

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 7:37 AM
To: [EMAIL PROTECTED]
Subject: Antwort: RE:NoSuchMethodError while running a soap client



Hi Rino,

Try placing xerces.jar in front of your classpath..





Rino Srivastava <[EMAIL PROTECTED]> on 11/29/2001 02:43:48
PM

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie:
Thema:RE:NoSuchMethodError while running a soap client

Hi there:

I am trying to run your HelloServer.java and Client.java programs using
soap
and java.

I get the following error message:

Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.soap.util.xml.Qname.
at org.apache.soap.util.xml.matches
at org.apache.soap.Envelop.unmarshall
at org.apache.soap.rpc.Call.invoke
at hello.Client.main
I am attaching the client and the server programs:
 <>  <>

Can someone please suggest how I can fix the above error?

Thanks in advance.
Rino Srivastava

(See attached file: Client.java)(See attached file: HelloServer.java)







Antwort: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Ruben_Inoto


Hi Rino,

Try placing xerces.jar in front of your classpath..





Rino Srivastava <[EMAIL PROTECTED]> on 11/29/2001 02:43:48
PM

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie:
Thema:RE:NoSuchMethodError while running a soap client

Hi there:

I am trying to run your HelloServer.java and Client.java programs using
soap
and java.

I get the following error message:

Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.soap.util.xml.Qname.
at org.apache.soap.util.xml.matches
at org.apache.soap.Envelop.unmarshall
at org.apache.soap.rpc.Call.invoke
at hello.Client.main
I am attaching the client and the server programs:
 <>  <>

Can someone please suggest how I can fix the above error?

Thanks in advance.
Rino Srivastava

(See attached file: Client.java)(See attached file: HelloServer.java)







Client.java
Description: Binary data


HelloServer.java
Description: Binary data


RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

I'll try this out, thanks.

Rino

-Original Message-
From: Eric Hsiung [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: NoSuchMethodError


Tomcat first looks for jar files in $TOMCAT_HOME/lib and
then the classpath. Either:
1. hack up tomcat.bat/tomcat.sh to add xerces.jar 
   before the auto-loaded jars, or
2. copy xerces.jar into $TOMCAT_HOME/lib and delete
   the existing jaxp.jar and parser.jar.

I did #2 and it works great.


Eric

> -Original Message-
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
> 
> 
> You will also have to take care that xerces.jar appears first in the
> classpath. so that the latest parser version takes precedence.
> 
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 4:19 PM
> Subject: RE: NoSuchMethodError
> 
> 
> > I have added all the required jar files in the classpath(soap.jar,
> > activation.jar, mail.jar and xerces.jar).  I have also deployed the
> service.
> > What could be missing?
> >
> > Thanks.
> > Rino
> >
> > -Original Message-
> > From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 11:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: NoSuchMethodError
> >
> >
> > I tried and no rpoblem.check ur classpath
> > - Original Message -
> > From: "Rino Srivastava" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, November 29, 2001 8:11 AM
> > Subject: NoSuchMethodError
> >
> >
> > > Hi there:
> > >
> > > I am trying to run your HelloServer.java and Client.java 
> programs using
> > soap
> > > and java.
> > >
> > > I get the following error message:
> > >
> > > Exception in thread "main" java.lang.NoSuchMethodError
> > > at org.apache.soap.util.xml.Qname.
> > > at org.apache.soap.util.xml.matches
> > > at org.apache.soap.Envelop.unmarshall
> > > at org.apache.soap.rpc.Call.invoke
> > > at hello.Client.main
> > > I am attaching the client and server files:
> > >  <>  <>
> > >
> > > Can you please suggest how I can fix the above error?
> > >
> > > Thanks in advance.
> > > Rino Srivastava
> > >
> > >
> 



RE: NoSuchMethodError

2001-11-29 Thread Eric Hsiung

Tomcat first looks for jar files in $TOMCAT_HOME/lib and
then the classpath. Either:
1. hack up tomcat.bat/tomcat.sh to add xerces.jar 
   before the auto-loaded jars, or
2. copy xerces.jar into $TOMCAT_HOME/lib and delete
   the existing jaxp.jar and parser.jar.

I did #2 and it works great.


Eric

> -Original Message-
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
> 
> 
> You will also have to take care that xerces.jar appears first in the
> classpath. so that the latest parser version takes precedence.
> 
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 4:19 PM
> Subject: RE: NoSuchMethodError
> 
> 
> > I have added all the required jar files in the classpath(soap.jar,
> > activation.jar, mail.jar and xerces.jar).  I have also deployed the
> service.
> > What could be missing?
> >
> > Thanks.
> > Rino
> >
> > -Original Message-
> > From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 11:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: NoSuchMethodError
> >
> >
> > I tried and no rpoblem.check ur classpath
> > - Original Message -
> > From: "Rino Srivastava" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, November 29, 2001 8:11 AM
> > Subject: NoSuchMethodError
> >
> >
> > > Hi there:
> > >
> > > I am trying to run your HelloServer.java and Client.java 
> programs using
> > soap
> > > and java.
> > >
> > > I get the following error message:
> > >
> > > Exception in thread "main" java.lang.NoSuchMethodError
> > > at org.apache.soap.util.xml.Qname.
> > > at org.apache.soap.util.xml.matches
> > > at org.apache.soap.Envelop.unmarshall
> > > at org.apache.soap.rpc.Call.invoke
> > > at hello.Client.main
> > > I am attaching the client and server files:
> > >  <>  <>
> > >
> > > Can you please suggest how I can fix the above error?
> > >
> > > Thanks in advance.
> > > Rino Srivastava
> > >
> > >
> 



RE: Security issue - deploy

2001-11-29 Thread Dave Reid

Or write your own ConfigManager class - see guide/config.html#pcm in your
soap 2.2 docs. Your class can just throw a SOAPException from deploy and
undeploy.

Dave Reid

> -Original Message-
> From: Wilkins, Craig [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 7:43 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Security issue - deploy
>
>
> I know of a couple of options..
>
> Change the URL for the JSP page where you can deploy, etc.
>
> Modify the code in rpcrouter so that it can't change the services.
>
> Make the file that contains the deployed SOAP services read-only.
>
> Put a proxy or firewall in front of your soap server that filters out any
> requests that aren't the SOAP calls that you are expecting.
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 8:23 AM
> To: [EMAIL PROTECTED]
> Subject: Security issue - deploy
>
>
> Hi all,
>
>   do you know any way to prevent "malicious" persons from deploying
> (undeploying) a service in my SOAP Server? I mean, is there anything
> integrated ni SOAP to accept "deploy" ("undeploy") calls only from
> specific
> IPs or something? I wouldn't like my services being undeployed by
> anyone
>
>   Thank you...
>
>




RE: maintaining sessions

2001-11-29 Thread Chuck . King

Oleg and all,

Maybe I missed something but I didn't realize there was the concept 
of session using SOAP. That is unless you wrote something in house.  
Could you please elaborate on the statement'I am aware that session 
can be maintained for a call object if application deployed with 
session scope'.  

Thanks,

Chuck

-Original Message-
From: lists 
Sent: Wednesday, November 28, 2001 8:03 PM
To: soap-user
Cc: lists
Subject: maintaining sessions


Hey everyone,

I know this question was asked before, and I am aware that session 
can be
maintained for a call object if application deployed with session 
scope.
However, I wanted to check if any of you guys found good tricks to 
maintain
session over different call objects. Thank you

Oleg



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
 
E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

I did add the xerces.jar file in the tomcat.bat file.  Still this does not
help.

Rino

-Original Message-
From: William Brogden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:35 AM
To: [EMAIL PROTECTED]
Subject: RE: NoSuchMethodError



> -Original Message-
> From: Rino Srivastava [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, November 29, 2001 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: NoSuchMethodError
> 
> 
> Hi there:
> 
> I am trying to run your HelloServer.java and Client.java 
> programs using soap and java.
> 
> I get the following error message:
> 
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main

This is just about guaranteed to be a problem with an old
xml parser package hanging around on your system. For some
reason the server is finding it before it finds a current
parser that supports namespaces. Check out the documentation
on how Java finds jar files - it looks in the standard
extensions directory BEFORE it looks at the classpath.

Bill




RE: NoSuchMethodError

2001-11-29 Thread William Brogden


> -Original Message-
> From: Rino Srivastava [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, November 29, 2001 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: NoSuchMethodError
> 
> 
> Hi there:
> 
> I am trying to run your HelloServer.java and Client.java 
> programs using soap and java.
> 
> I get the following error message:
> 
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main

This is just about guaranteed to be a problem with an old
xml parser package hanging around on your system. For some
reason the server is finding it before it finds a current
parser that supports namespaces. Check out the documentation
on how Java finds jar files - it looks in the standard
extensions directory BEFORE it looks at the classpath.

Bill





Re: NoSuchMethodError

2001-11-29 Thread Vinod Soni

You will also have to take care that xerces.jar appears first in the
classpath. so that the latest parser version takes precedence.

- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 4:19 PM
Subject: RE: NoSuchMethodError


> I have added all the required jar files in the classpath(soap.jar,
> activation.jar, mail.jar and xerces.jar).  I have also deployed the
service.
> What could be missing?
>
> Thanks.
> Rino
>
> -Original Message-
> From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
>
>
> I tried and no rpoblem.check ur classpath
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 8:11 AM
> Subject: NoSuchMethodError
>
>
> > Hi there:
> >
> > I am trying to run your HelloServer.java and Client.java programs using
> soap
> > and java.
> >
> > I get the following error message:
> >
> > Exception in thread "main" java.lang.NoSuchMethodError
> > at org.apache.soap.util.xml.Qname.
> > at org.apache.soap.util.xml.matches
> > at org.apache.soap.Envelop.unmarshall
> > at org.apache.soap.rpc.Call.invoke
> > at hello.Client.main
> > I am attaching the client and server files:
> >  <>  <>
> >
> > Can you please suggest how I can fix the above error?
> >
> > Thanks in advance.
> > Rino Srivastava
> >
> >




RE: NoSuchMethodError

2001-11-29 Thread Alex Kashko

is the current directory on your classpath?

 --- Rino Srivastava <[EMAIL PROTECTED]> wrote: > I have added all the
required jar files in the classpath(soap.jar,
> activation.jar, mail.jar and xerces.jar).  I have also deployed the service.
> What could be missing?
> 
> Thanks.
> Rino
> 
> -Original Message-
> From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
> 
> 
> I tried and no rpoblem.check ur classpath
> - Original Message -
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 8:11 AM
> Subject: NoSuchMethodError
> 
> 
> > Hi there:
> >
> > I am trying to run your HelloServer.java and Client.java programs using
> soap
> > and java.
> >
> > I get the following error message:
> >
> > Exception in thread "main" java.lang.NoSuchMethodError
> > at org.apache.soap.util.xml.Qname.
> > at org.apache.soap.util.xml.matches
> > at org.apache.soap.Envelop.unmarshall
> > at org.apache.soap.rpc.Call.invoke
> > at hello.Client.main
> > I am attaching the client and server files:
> >  <>  <>
> >
> > Can you please suggest how I can fix the above error?
> >
> > Thanks in advance.
> > Rino Srivastava
> >
> > 

=
Thinking (n) Activity of logical reasoning:
 hated by Governments, religious organisations of all religious,
 managers and Civil Services
Heretic (n)  From a greek word meaning "to think for oneself"

__
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music 
Charts
http://uk.my.yahoo.com



RE: solved: calling stateless EJB via SOAP

2001-11-29 Thread Winkler Lisa-P29719

Bernd,

That's a good idea, thanks for the info.

I solved the problem differently - I added my jar to JBOSS_HOME/dist/lib/ext.  But it 
accomplishes the same thing - it gets the jar into Tomcat's classpath.

So, I am up and running but I don't think either of these solutions is ideal.  I don't 
like junking up startup scripts or lib/ext with application-specific stuff.  When I 
deploy a web application, I can add jars to the application's classpath by putting 
them WEB-INF/lib or adding to the manifest.  Is there no way to do something similar 
in the soap deployment descriptor when deploying a soap service?  It requires you to 
specify the name of the java class that implements the service but doesn't seem to 
provide any way for you to tell it where to find that class.  This sounds like a 
deficiency to me...

Lisa


-Original Message-
From: Bernd Proissl [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 7:23 AM
To: [EMAIL PROTECTED]
Subject: RE: solved: calling stateless EJB via SOAP



It was at least a classpath problem, i  did the follwing:

- dropped soap.war in in jboss/deploy (thanks to
  
http://www.jboss.org/forums/thread.jsp?forum=51&thread=917&hilite=true&q=soap+%22Error+in+connecting+to+EJB%22&start=0)

- checked that JAF, javamail-api and soap.jar where in the classpath on the server
  thanks to http://www.soapuser.com/server3.html

- modified JBOSS_HOME/bin/run.sh to have the classpath contain the jboss/deploy
  directory:
  
JBOSS_CLASSPATH=$JBOSS_CLASSPATH:/opt/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/helloservice.jar
  I guess this expaned tomcat's classpath the the ejb-jar?

Bernd


> > -Original Message-
> > From: Winkler Lisa-P29719 [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 28, 2001 9:45 PM
> > To: '[EMAIL PROTECTED]'
> > Cc: '[EMAIL PROTECTED]'
> > Subject: calling stateless EJB via SOAP
> > 
> > 
> > I found the following post on the archives and was wondering if there was any 
>resolution.  I am having exactly the same 
> > problem.  I'm sure it's a classpath problem but I don't know where I could put my 
>ejb jar to make SOAP happy.  I even 
> > tried stuffing it in the soap.war that is deployed in Tomcat, which I shouldn't 
>have to do but I was getting desperate!  
> > Has anyone solved this problem?
> > 
> > Thanks,
> > Lisa
> > 
> > -
> > List: soap-user
> > Subject:  calling stateless EJB via SOAP
> > From: "Cook, Martin" <[EMAIL PROTECTED]>
> > Date: 2001-08-27 16:47:22
> > [Download message RAW]
> > 
> > I am attempting to use Apache ver 2.2 SOAP to call a stateless EJB deployed
> > in JBOSS ver 2.2.2. The error I get back from Apache is:
> > 
> >   Fault Code   = SOAP-ENV:Server
> >   Fault String = Error in connecting to EJB
> > 
> > The JBOSS log shows this:
> > 
> >   [EmbeddedTomcatSX] In TemplateProvider.locate() 
> >   [EmbeddedTomcatSX] URI: urn:getAddressTypes
> >   [EmbeddedTomcatSX] DD.ServiceClass:
> > org.apache.soap.providers.StatelessEJBProvider
> >   [EmbeddedTomcatSX] DD.ProviderClass: null
> >   [EmbeddedTomcatSX] Call.MethodName: getXML
> >   [EmbeddedTomcatSX] Exception caught: javax.naming.CommunicationException
> > [Root exception is java.lang.ClassNot
> >   FoundException: oneok.ocms.bll.getAddressTypesHome]
> > 
> > 
> > My client code is roughly:
> > 
> >   URL urlRouter = new URL ("http://localhost:8080/soap/servlet/rpcrouter";);
> > 
> >   Call call = new Call ();
> >   call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
> >   call.setTargetObjectURI ("urn:getAddressTypes");
> >   call.setMethodName ("getXML");
> >   Response resp = call.invoke(urlRouter, "");
> > 
> > 
> > My SOAP deployment descriptor is:
> > 
> >   
> >   http://xml.apache.org/xml-soap/deployment";
> >  id="urn:getAddressTypes">
> >  > scope="Application"
> > methods="create">
> >   
> >> value="oneok.ocms.bll.getAddressTypesHome" />
> >   
> >> value="org.jnp.interfaces.NamingContextFactory" />
> > 
> >  
> > org.apache.soap.server.DOMFaultListener > r>
> >   
> > 
> > 
> > My EJB works with "traditional" java clients, just not with the SOAP client.
> > 
> > I haven't noticed any other problems with my Apache or JBOSS installations,
> > and yes, I do have the xerces.jar file listed first in my classpath...
> > 
> > I even tried adding the jar file for my EJB to the classpath, and
> > restarting, but that didn't help either!
> > 
> > Does anyone have any ideas?
> > 
> > 
> 



RE: NoSuchMethodError

2001-11-29 Thread Rino Srivastava

I have added all the required jar files in the classpath(soap.jar,
activation.jar, mail.jar and xerces.jar).  I have also deployed the service.
What could be missing?

Thanks.
Rino

-Original Message-
From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 11:40 PM
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError


I tried and no rpoblem.check ur classpath
- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:11 AM
Subject: NoSuchMethodError


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and server files:
>  <>  <>
>
> Can you please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>



RE: NoSuchMethodError

2001-11-29 Thread Lene Bredgaard

I have recently been introduced to a nice little tool, that helped me
getting my classpath right.
http://www.javaworld.com/javaworld/javatips/jw-javatip105.html

Lene

-Original Message-
From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 12:40 AM
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError


I tried and no rpoblem.check ur classpath
- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:11 AM
Subject: NoSuchMethodError


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs
using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and server files:
>  <>  <>
>
> Can you please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>




deploy service problem

2001-11-29 Thread Xavier Renard

Hello,


I'm new with SOAP and I do have a problem with deploying a service with
SOAP.
I did install SOAP with Tomcat 3.3 without a problem. Then I did a
deployement descriptor (in fact, I follow the example in the book java &
XML )
and when I did launch this command
java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouteur deploy CDCatalog.xml

I receive this Exception
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Connec
tion shutdown: JVM_recv in socket input stream read;
targetException=java.net.So
cketException: Connection shutdown: JVM_recv in socket input stream read]
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:328)
at org.apache.soap.rpc.Call.invoke(Call.java:205)
at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)

Can you tell me where is the problem

Thank you

Xavier





Re: NoSuchMethodError

2001-11-29 Thread P Sreenivasa Rao

I tried and no rpoblem.check ur classpath
- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:11 AM
Subject: NoSuchMethodError


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and server files:
>  <>  <>
>
> Can you please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>




NoSuchMethodError

2001-11-29 Thread Rino Srivastava

Hi there:

I am trying to run your HelloServer.java and Client.java programs using soap
and java.

I get the following error message:

Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.soap.util.xml.Qname.
at org.apache.soap.util.xml.matches
at org.apache.soap.Envelop.unmarshall
at org.apache.soap.rpc.Call.invoke
at hello.Client.main
I am attaching the client and server files:
 <>  <> 

Can you please suggest how I can fix the above error?

Thanks in advance.
Rino Srivastava 




Client.java
Description: Binary data


HelloServer.java
Description: Binary data


Re: using IBM Web Service Tool Kit(wstk2.4) with tomcat4.0/soap2.2

2001-11-29 Thread James M Snell

Thomas,

I'll be posting a note on the alphaWorks forum later today that deals with 
this question.  Thanks!

- James M Snell/Fresno/IBM
Web services architecture and strategy
Internet Emerging Technologies, IBM
544.9035 TIE line
559.587.1233 Office
919.486.0077 Voice Mail
[EMAIL PROTECTED]
=
Have I not commanded you?  Be strong and courageous.  Do not be terrified, 

do not be discouraged, for the Lord your God will be with you wherever you 
go.  
- Joshua 1:9

Please respond to [EMAIL PROTECTED] 
To: <[EMAIL PROTECTED]>
cc: 
Subject:Re: using IBM Web Service Tool Kit(wstk2.4) with tomcat4.0/soap2.2



Im using Tomcat 4.0 along with Apache Soap 2.2 too. I chose not to 
overwrite
any config files while installing, and simply added the appropriate jars 
too
my classpath (see below). I can still run my Tomcat/SOAP samples like I 
did
earlier. There is a problem though. I cant compile the
NasdaqQuotesClient.java so I never got to try out UDDI. Does anybody know
what to do to make it compile? Error msg.:

NasdaqQuotesClient.java:42:
invoke(com.ibm.wstk.service.client.ServiceRequest)
in com.ibm.wstk.service.client.ServiceProxy cannot be applied to
(java.lang.String,java.lang.String[],java.lang.String,org.apache.soap.encodi
ng.SOAPMappingRegistry)
Response res = proxy.invoke(operation, args, encStyle, getSMR());
^
1 error


My classpath:
.;C:\Progra~1\jakarta-tomcat-4.0.1\common\lib\xerces.jar;C:\Progra~1\jakarta
-tomcat-4.0.1\common\lib\activation.jar;C:\Progra~1\jakarta-tomcat-4.0.1\com
mon\lib\mail.jar;C:\Progra~1\soap-2_2\lib\soap.jar;C:\wstk-2.4\lib\wstk.jar;
C:\wstk-2.4\wsdl4j\lib\wsdl4j.jar;C:\wstk-2.4\tutorial\NasdaqQuotes\lib\Nasd
aqQuotes.jar;C:\wstk-2.4\uddi4j\lib\uddi4j.jar;C:\wstk-2.4\tutorial\NasdaqQu
otes\src\com\ibm\samples\nasdaqQuotes


regards
thomas

- Original Message -
From: "Sandy Liu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 5:57 PM
Subject: using IBM Web Service Tool Kit(wstk2.4) with tomcat4.0/soap2.2


> Hi,
> I installed Tomcat 4.0 along with Apache Soap 2.2. Everything was 
working
> fine.  Recently, I installed the IBM web service tool kit (wstk2.4) and 
I
> had a hard time to get it working right. Is there anyone had this
experience
> before?
> Here's the instruction I followed, which is given by an article in the
> current issue of XML Magazine:
>
http://www.xmlmag.com/upload/free/features/xml/2001/11nov01/sr0111/sr0111.as
> p
>
> If I choose to overwrite the web.xml and server.xml during the wstk
> configuration for Tomcat, my tomcat server won't work properly or the
>  doesn't work.
>
> Any suggestion on this will be greatly appreciated.
>
> Thanks,
>
> Sandy
>
>






RE: Security issue - deploy

2001-11-29 Thread Wilkins, Craig

I know of a couple of options..

Change the URL for the JSP page where you can deploy, etc.

Modify the code in rpcrouter so that it can't change the services.

Make the file that contains the deployed SOAP services read-only.

Put a proxy or firewall in front of your soap server that filters out any
requests that aren't the SOAP calls that you are expecting.  




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 8:23 AM
To: [EMAIL PROTECTED]
Subject: Security issue - deploy


Hi all,

  do you know any way to prevent "malicious" persons from deploying
(undeploying) a service in my SOAP Server? I mean, is there anything
integrated ni SOAP to accept "deploy" ("undeploy") calls only from specific
IPs or something? I wouldn't like my services being undeployed by
anyone

  Thank you...




RE: solved: calling stateless EJB via SOAP

2001-11-29 Thread Bernd Proissl


It was at least a classpath problem, i  did the follwing:

- dropped soap.war in in jboss/deploy (thanks to
  
http://www.jboss.org/forums/thread.jsp?forum=51&thread=917&hilite=true&q=soap+%22Error+in+connecting+to+EJB%22&start=0)

- checked that JAF, javamail-api and soap.jar where in the classpath on the server
  thanks to http://www.soapuser.com/server3.html

- modified JBOSS_HOME/bin/run.sh to have the classpath contain the jboss/deploy
  directory:
  
JBOSS_CLASSPATH=$JBOSS_CLASSPATH:/opt/JBoss-2.4.3_Tomcat-3.2.3/jboss/deploy/helloservice.jar
  I guess this expaned tomcat's classpath the the ejb-jar?

Bernd


> > -Original Message-
> > From: Winkler Lisa-P29719 [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 28, 2001 9:45 PM
> > To: '[EMAIL PROTECTED]'
> > Cc: '[EMAIL PROTECTED]'
> > Subject: calling stateless EJB via SOAP
> > 
> > 
> > I found the following post on the archives and was wondering if there was any 
>resolution.  I am having exactly the same 
> > problem.  I'm sure it's a classpath problem but I don't know where I could put my 
>ejb jar to make SOAP happy.  I even 
> > tried stuffing it in the soap.war that is deployed in Tomcat, which I shouldn't 
>have to do but I was getting desperate!  
> > Has anyone solved this problem?
> > 
> > Thanks,
> > Lisa
> > 
> > -
> > List: soap-user
> > Subject:  calling stateless EJB via SOAP
> > From: "Cook, Martin" <[EMAIL PROTECTED]>
> > Date: 2001-08-27 16:47:22
> > [Download message RAW]
> > 
> > I am attempting to use Apache ver 2.2 SOAP to call a stateless EJB deployed
> > in JBOSS ver 2.2.2. The error I get back from Apache is:
> > 
> >   Fault Code   = SOAP-ENV:Server
> >   Fault String = Error in connecting to EJB
> > 
> > The JBOSS log shows this:
> > 
> >   [EmbeddedTomcatSX] In TemplateProvider.locate() 
> >   [EmbeddedTomcatSX] URI: urn:getAddressTypes
> >   [EmbeddedTomcatSX] DD.ServiceClass:
> > org.apache.soap.providers.StatelessEJBProvider
> >   [EmbeddedTomcatSX] DD.ProviderClass: null
> >   [EmbeddedTomcatSX] Call.MethodName: getXML
> >   [EmbeddedTomcatSX] Exception caught: javax.naming.CommunicationException
> > [Root exception is java.lang.ClassNot
> >   FoundException: oneok.ocms.bll.getAddressTypesHome]
> > 
> > 
> > My client code is roughly:
> > 
> >   URL urlRouter = new URL ("http://localhost:8080/soap/servlet/rpcrouter";);
> > 
> >   Call call = new Call ();
> >   call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
> >   call.setTargetObjectURI ("urn:getAddressTypes");
> >   call.setMethodName ("getXML");
> >   Response resp = call.invoke(urlRouter, "");
> > 
> > 
> > My SOAP deployment descriptor is:
> > 
> >   
> >   http://xml.apache.org/xml-soap/deployment";
> >  id="urn:getAddressTypes">
> >  > scope="Application"
> > methods="create">
> >   
> >> value="oneok.ocms.bll.getAddressTypesHome" />
> >   
> >> value="org.jnp.interfaces.NamingContextFactory" />
> > 
> >  
> > org.apache.soap.server.DOMFaultListener > r>
> >   
> > 
> > 
> > My EJB works with "traditional" java clients, just not with the SOAP client.
> > 
> > I haven't noticed any other problems with my Apache or JBOSS installations,
> > and yes, I do have the xerces.jar file listed first in my classpath...
> > 
> > I even tried adding the jar file for my EJB to the classpath, and
> > restarting, but that didn't help either!
> > 
> > Does anyone have any ideas?
> > 
> > 
> 



Security issue - deploy

2001-11-29 Thread Ruben_Inoto

Hi all,

  do you know any way to prevent "malicious" persons from deploying
(undeploying) a service in my SOAP Server? I mean, is there anything
integrated ni SOAP to accept "deploy" ("undeploy") calls only from specific
IPs or something? I wouldn't like my services being undeployed by
anyone

  Thank you...





RE: Gettting Parsing Error

2001-11-29 Thread William Brogden
Title: Message



Your 
error comes from the client side because the server got some error that 
prevented it from sending an XML message. 
You 
need to look at the actual message from the server to figure out what went 
wrong. The TcpTunnelGui provided with Apache SOAP will work or you can download 
my UtilSnoop program from here:
http://www.lanw.com/books/javasoap/default.htm
 

  
  -Original Message-From: Vinod Soni 
  [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 
  8:37 AMTo: [EMAIL PROTECTED]Subject: Gettting 
  Parsing Error
  Hello,
   
  I am getting the following exception when trying 
  to call a server SOAP component with my client. Can anyone help me with this 
  ?
   
  [SOAPException: 
  faultCode=SOAP-ENV:Client; msg=Parsing error, response was:The root 
  element is required in a well-formed document.; 
  targetException=org.xml.sax.SAXParseException: The root element is required in 
  a well-formed document.] at 
  org.apache.soap.rpc.Call.invoke(Call.java:250) at 
  com.vizzavi.soap.TestSoapClient.main(TestSoapClient.java:66)
   
  Cheers,
  Vinod.


RE: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Thanks, I'll try that out right away.

~Rino

-Original Message-
From: Vinod Soni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 7:45 AM
To: [EMAIL PROTECTED]
Subject: Re: RE:NoSuchMethodError while running a soap client


Try
call.setSOAPMappingRegistry(new SOAPMappingRegistry());
before
setting TargetObjectURI.

- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:43 PM
Subject: RE:NoSuchMethodError while running a soap client


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and the server programs:
>  <>  <>
>
> Can someone please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>



Re: RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Vinod Soni

Try
call.setSOAPMappingRegistry(new SOAPMappingRegistry());
before
setting TargetObjectURI.

- Original Message -
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:43 PM
Subject: RE:NoSuchMethodError while running a soap client


> Hi there:
>
> I am trying to run your HelloServer.java and Client.java programs using
soap
> and java.
>
> I get the following error message:
>
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.
> at org.apache.soap.util.xml.matches
> at org.apache.soap.Envelop.unmarshall
> at org.apache.soap.rpc.Call.invoke
> at hello.Client.main
> I am attaching the client and the server programs:
>  <>  <>
>
> Can someone please suggest how I can fix the above error?
>
> Thanks in advance.
> Rino Srivastava
>
>




RE: How to know the method parameters in Apache SOAP implementation.

2001-11-29 Thread Sandy Liu



That 
is where WSDL (Web Service Description Language) comes to play. 
theoretically you can deploy the abstract version of the 
WSDL somewhere on your website, and the client who wants to use 
your service can build the client according to this 
document. 
There 
are some tools available in the market to do the work for you. I downloaded the 
IBM wstk2.4, but I hasn't got that to work with my tomcat4.0/apache soap server 
properly yet. However, you can just write your own proxy and client program 
without the tool. 
 
good 
luck,
 
Sandy 
  

  -Original Message-From: P Sreenivasa Rao 
  [mailto:[EMAIL PROTECTED]]Sent: November 29, 2001 10:46 
  PMTo: [EMAIL PROTECTED]; soapbuilders@yahoogroup; 
  [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: How to 
  know the method parameters in Apache SOAP implementation.
  Hi all,
  It may be a basic one,but still I need some 
  clarification.
   
  In apache SOAP, I'll deploy one service and if 
  some user wants to use my service .so where that user can find my service 
  info.
  In our Apache ,while deploying ,no where we are 
  mentioning the parameters , their type and other info.
  SO where can the user(client )konw these 
  details.
   
  Can anybody help me..
  TIA,
  Sreenivas P


Re: An Installation Question

2001-11-29 Thread Baosong Shan



Kandal and all,
 
I'm very sorry, really...
Since I'm a newcomer to mail-list, I don't know exactly HOW 
should I do. 
 
I apologize to you all.
 
Baosong

  - Original Message - 
  From: 
  Ajjarapu, Kondal 
  To: '[EMAIL PROTECTED]' 
  Sent: Thursday, November 29, 2001 9:17 
  PM
  Subject: RE: An Installation Question
  
  Baosong
   
  Why 
  dont you send email to Sundaresan directly and not copy all of us on it EVERY 
  SINGLE TIME.
   
  Would appreciate it.
   
  Kondal


Gettting Parsing Error

2001-11-29 Thread Vinod Soni



Hello,
 
I am getting the following exception when trying to 
call a server SOAP component with my client. Can anyone help me with this 
?
 
[SOAPException: 
faultCode=SOAP-ENV:Client; msg=Parsing error, response was:The root element 
is required in a well-formed document.; 
targetException=org.xml.sax.SAXParseException: The root element is required in a 
well-formed document.] at 
org.apache.soap.rpc.Call.invoke(Call.java:250) at 
com.vizzavi.soap.TestSoapClient.main(TestSoapClient.java:66)
 
Cheers,
Vinod.


RE:NoSuchMethodError while running a soap client

2001-11-29 Thread Rino Srivastava

Hi there:

I am trying to run your HelloServer.java and Client.java programs using soap
and java.

I get the following error message:

Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.soap.util.xml.Qname.
at org.apache.soap.util.xml.matches
at org.apache.soap.Envelop.unmarshall
at org.apache.soap.rpc.Call.invoke
at hello.Client.main
I am attaching the client and the server programs:
 <>  <> 

Can someone please suggest how I can fix the above error?

Thanks in advance.
Rino Srivastava 




Client.java
Description: Binary data


HelloServer.java
Description: Binary data


Re: How does Apache soap handles overloaded methods ?

2001-11-29 Thread P Sreenivasa Rao

hi chiran,

which SOAP version , u mean.In Weblogic 6.1 documentation,it's saying that
due to SOAP specification problems, Weblogic6.1 is not supporting overloaded
functions.
Apapche supports overloaded methods,is that problem with SOAP spec or
weblogic?
It may be somewhat deviation ...

TIA,
Sreenivas P

- Original Message -
From: "Chiranjeevi Paruchur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 5:27 AM
Subject: Re: How does Apache soap handles overloaded methods ?


>
> HI! Dovle,
>
> Apache doesnt have any problem with Overloaded methods.
>
> Your DD.xml looks the same way as if you just had only only one method.
>
> Chiran
>
>
>
>
> dovle
> 
> e.ro>cc:
>  Subject: How does Apache soap
handles overloaded methods ?
> 29.11.01
> 14:26
> Please
> respond to
> soap-user
>
>
>
>
>
>
> Hi all ,
>
> I have not tried anything like this (shame on me) but :
>
> Does apache has any problems with overloaded methods ?
>
> And if it does not have any problems, how should my DD.xml look like ?
> The enumeration of method names should contain only one name of the X
method
> (even if the X method has more than one signature ) ?
>
> Thanks ,
> dovle
>
>
>
>
>




Re: How does Apache soap handles overloaded methods ?

2001-11-29 Thread Chiranjeevi Paruchur


HI! Dovle,

Apache doesnt have any problem with Overloaded methods.

Your DD.xml looks the same way as if you just had only only one method.

Chiran



   
 
dovle  
 

 
e.ro>cc:   
 
 Subject: How does Apache soap handles 
overloaded methods ? 
29.11.01   
 
14:26  
 
Please 
 
respond to 
 
soap-user  
 
   
 
   
 




Hi all ,

I have not tried anything like this (shame on me) but :

Does apache has any problems with overloaded methods ?

And if it does not have any problems, how should my DD.xml look like ?
The enumeration of method names should contain only one name of the X method
(even if the X method has more than one signature ) ?

Thanks ,
dovle







How does Apache soap handles overloaded methods ?

2001-11-29 Thread dovle

Hi all ,

I have not tried anything like this (shame on me) but :

Does apache has any problems with overloaded methods ? 

And if it does not have any problems, how should my DD.xml look like ?
The enumeration of method names should contain only one name of the X method 
(even if the X method has more than one signature ) ? 

Thanks ,
dovle  



How to know the method parameters in Apache SOAP implementation.

2001-11-29 Thread P Sreenivasa Rao



Hi all,
It may be a basic one,but still I need some 
clarification.
 
In apache SOAP, I'll deploy one service and if some 
user wants to use my service .so where that user can find my service 
info.
In our Apache ,while deploying ,no where we are 
mentioning the parameters , their type and other info.
SO where can the user(client )konw these 
details.
 
Can anybody help me..
TIA,
Sreenivas P


smime.p7s
Description: application/pkcs7-signature


RE: An Installation Question

2001-11-29 Thread Moran, Neal



You 
must edit tomcat.bat to setup the classpath used by tomcat.
 

  -Original Message-From: Baosong Shan 
  [mailto:[EMAIL PROTECTED]]Sent: 29 November 2001 
  12:55To: V.SundaresanCc: Soap-UserSubject: 
  Re: An Installation Question
  Thanks, sunder!
   
  Also I write a batch file:
   
  mystartup.bat:
   
    set JAVA_HOME=d:\jdk1.3  set 
  TOMCAT_HOME=d:\soap\jakarta-tomcat-3.2.4  set 
  CLASSPATH=d:\soap\xerces-1_2_3\xerces.jar  set 
  CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2\lib\soap.jar  set 
  CLASSPATH=%CLASSPATH%;d:\soap\javamail-1.2\mail.jar  set 
  CLASSPATH=%CLASSPATH%;d:\soap\jaf-1.0.1\activation.jar  set 
  CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2  
  %TOMCAT_HOME%\bin\startup.bat
   
  When I pressed List button, the message is :
   
  
  Service Listing
  Error: 500
  Location: 
  /soap/admin/list.jspInternal Servlet Error:javax.servlet.ServletException: javax/mail/MessagingException
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)
Root cause: 
  java.lang.NoClassDefFoundError: javax/mail/MessagingException
	at admin._0002fadmin_0002flist_0002ejsplist_jsp_0._jspService(_0002fadmin_0002flist_0002ejsplist_jsp_0.java:65)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)
Thanks again, :)Baosong
  
- Original Message - 
From: V.Sundaresan 
To: Baosong Shan 
Sent: Thursday, November 29, 2001 7:56 
PM
Subject: RE: An Installation Question

shan,
Post the errors you got in WinNT. 

Am 
working with NT only. 
 

  -Original Message-From: Baosong Shan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, November 29, 2001 
  5:28 PMTo: V.SundaresanCc: 
  Soap-UserSubject: Re: An Installation 
  Question
  Hi, sunder,
   
  Thank U!
  But I think there may be other errors. Because I cheked 
  all the CLASSPATH, only finding no jaxp.jar is there. And just now I 
  installed the same ones on Windows NT 4.0. It ALSO doesn't 
  work!
  Will you please to tell me about some websites which 
  teaches how to install SOAP on Linux? I learned it on www.soapuser.com, couldn't 
  work.
  Thank U again. You are so kind.
   
  -Baosong
  
- Original Message - 
From: 
V.Sundaresan 
To: Baosong Shan 
Sent: Thursday, November 29, 2001 7:09 
PM
Subject: RE: An Installation 
Question

Hi shan,
 Check your systems classpath, whether any 
"jaxp.jar" file is thr. Instead of taking XERCES.jar, he is trying to 
access jaxp.jar i think. If you found that jaxp.jar 
Just move that file to some other temp directory just to chk. 

-sunder
 


Re: An Installation Question

2001-11-29 Thread Baosong Shan



Hi, sunder!
 
When I run the following command in a terminal-
 
D:\jdk1.3\bin>java 
org.apache.soap.server.ServiceManagerClient http://192.168.6.132:8080/soap/servlet/rpcrouter 
list
 
I got the following error message:
 
[SOAPException: faultCode=SOAP-ENV:Client; msg=Connection 
shutdown: JVM_recv in socket input stream read; 
targetException=java.net.SocketException: Connection shutdown: JVM_recv in 
socket input stream read] at 
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:328) at 
org.apache.soap.rpc.Call.invoke(Call.java:205) at 
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClient.java:129) at 
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:151) at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:237)Exception 
in thread "main" 
 
Thank U!! ;)
 
Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Thursday, November 29, 2001 7:56 
  PM
  Subject: RE: An Installation Question
  
  shan,
  Post 
  the errors you got in WinNT. 
  Am 
  working with NT only. 
   
  
-Original Message-From: Baosong Shan 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, November 29, 2001 5:28 
PMTo: V.SundaresanCc: Soap-UserSubject: Re: 
An Installation Question
Hi, sunder,
 
Thank U!
But I think there may be other errors. Because I cheked 
all the CLASSPATH, only finding no jaxp.jar is there. And just now I 
installed the same ones on Windows NT 4.0. It ALSO doesn't 
work!
Will you please to tell me about some websites which 
teaches how to install SOAP on Linux? I learned it on www.soapuser.com, couldn't 
work.
Thank U again. You are so kind.
 
-Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Thursday, November 29, 2001 7:09 
  PM
  Subject: RE: An Installation 
  Question
  
  Hi shan,
   Check your systems classpath, whether any 
  "jaxp.jar" file is thr. Instead of taking XERCES.jar, he is trying to 
  access jaxp.jar i think. If you found that jaxp.jar 
  Just move that file to some other temp directory just to chk. 
  
  -sunder
   


Re: An Installation Question

2001-11-29 Thread Baosong Shan



Thanks, sunder!
 
Also I write a batch file:
 
mystartup.bat:
 
  set JAVA_HOME=d:\jdk1.3  set 
TOMCAT_HOME=d:\soap\jakarta-tomcat-3.2.4  set 
CLASSPATH=d:\soap\xerces-1_2_3\xerces.jar  set 
CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2\lib\soap.jar  set 
CLASSPATH=%CLASSPATH%;d:\soap\javamail-1.2\mail.jar  set 
CLASSPATH=%CLASSPATH%;d:\soap\jaf-1.0.1\activation.jar  set 
CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2  
%TOMCAT_HOME%\bin\startup.bat
 
When I pressed List button, the message is :
 

Service Listing
Error: 500
Location: 
/soap/admin/list.jspInternal 
Servlet Error:javax.servlet.ServletException: javax/mail/MessagingException
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)
Root cause: 
java.lang.NoClassDefFoundError: javax/mail/MessagingException
	at admin._0002fadmin_0002flist_0002ejsplist_jsp_0._jspService(_0002fadmin_0002flist_0002ejsplist_jsp_0.java:65)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)
Thanks again, :)Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Thursday, November 29, 2001 7:56 
  PM
  Subject: RE: An Installation Question
  
  shan,
  Post 
  the errors you got in WinNT. 
  Am 
  working with NT only. 
   
  
-Original Message-From: Baosong Shan 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, November 29, 2001 5:28 
PMTo: V.SundaresanCc: Soap-UserSubject: Re: 
An Installation Question
Hi, sunder,
 
Thank U!
But I think there may be other errors. Because I cheked 
all the CLASSPATH, only finding no jaxp.jar is there. And just now I 
installed the same ones on Windows NT 4.0. It ALSO doesn't 
work!
Will you please to tell me about some websites which 
teaches how to install SOAP on Linux? I learned it on www.soapuser.com, couldn't 
work.
Thank U again. You are so kind.
 
-Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Thursday, November 29, 2001 7:09 
  PM
  Subject: RE: An Installation 
  Question
  
  Hi shan,
   Check your systems classpath, whether any 
  "jaxp.jar" file is thr. Instead of taking XERCES.jar, he is trying to 
  access jaxp.jar i think. If you found that jaxp.jar 
  Just move that file to some other temp directory just to chk. 
  
  -sunder
   


Re: An Installation Question

2001-11-29 Thread Baosong Shan



Hi, sunder,
 
Thank U!
But I think there may be other errors. Because I cheked all 
the CLASSPATH, only finding no jaxp.jar is there. And just now I installed the 
same ones on Windows NT 4.0. It ALSO doesn't work!
Will you please to tell me about some websites which teaches 
how to install SOAP on Linux? I learned it on www.soapuser.com, couldn't work.
Thank U again. You are so kind.
 
-Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Thursday, November 29, 2001 7:09 
  PM
  Subject: RE: An Installation Question
  
  Hi 
  shan,
   Check your systems classpath, whether any 
  "jaxp.jar" file is thr. Instead of taking XERCES.jar, he is trying to access 
  jaxp.jar i think. If you found that jaxp.jar Just move that file 
  to some other temp directory just to chk. 
  -sunder
   


RE: FW: .NET Service Apache Soap and Axis clients - now Cookies

2001-11-29 Thread Adam.Leggett

Big thanks Sam..works a treat even on complex types. 

Also Does anyone have experience of using cookies with Axis /Apache?

Cheers

Adam

Adam Leggett
UPCO
Direct Line: 0113 20 10 631
Fax: 0113 20 10 666

The contents of this email are intended for the named addressees and may
contain confidential and / or privileged material. If received in error,
please contact UPCO on +44 (0)113 20 10 600 and then delete the entire email
from your system. Unauthorised review, distribution, disclosure or other use
of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.




-Original Message-
From: Sam Ruby [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, November 28, 2001 1:31 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: FW: .NET Service Apache Soap and Axis clients


Adam Leggett wrote:
>
> My MS colleague is auto-generating WSDL from his deployed C# class.
>
> When comparing the base interop WSDL with my colleagues, it appears 
> that 'our' WSDL defines all parameters to all methods as complex types

Have your MS colleague change his .asmx file.  Where it currently says:

   [WebMethod]

Replace this with:

   [WebMethod, SoapRpcMethod]

In order to get this to work, the following may also need to be added:

   using System.Web.Services.Protocols;

- Sam Ruby



Fw: An Installation Question

2001-11-29 Thread Baosong Shan



 
Hi, all and sunder!
Now I have tried your way, but still it doesn't work. 
:(
I registered the variables of JAVA_HOME, TOMCAT_HOME and 
CLASSPATH in the file /home/cboy/.bash_profile:
 
File /home/cboy/.bash_profile:
 
# .bash_profile
 
# Get the aliases and functionsif [ -f ~/.bashrc ]; 
then . ~/.bashrcfi
 
# User specific environment and startup programs
 
PATH=$PATH:$HOME/bin:/usr/java/binBASH_ENV=$HOME/.bashrcUSERNAME=""
 
export USERNAME BASH_ENV PATH
 
#test for soap added by cboyJAVA_HOME=/usr/javaexport 
JAVA_HOMETOMCAT_HOME=/home/cboy/soap/jakarta-tomcat-3.2.4export 
TOMCAT_HOMECLASSPATH=/home/cboy/soap/soap-2_2/lib/soap.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/javamail-1.2/mail.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/jaf-1.0.1/activation.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/xerces-1_2_3/xerces.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/soap-2_2export 
CLASSPATH
 
Then I typed: 
/home/cboy/soap/jakarta-tomcat-3.2.4/bin/startup.sh, and got the following 
message:
 
Using classpath: 
/home/cboy/soap/xerces-1_2_3/xerces.jar:/home/cboy/soap/soap-2_2/lib/soap.jar:/home/cboy/soap/javamail-1.2/mail.jar:/home/cboy/soap/jaf-1.0.1/activation.jar:/home/cboy/soap/xerces-1_2_3/xerces.jar:/home/cboy/soap/soap-2_2:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/ant.jar:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/crimson.jar:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/jasper.jar:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/servlet.jar:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/test:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/webserver.jar:/home/cboy/soap/jakarta-tomcat-3.2.4/lib/xerces.jar:/usr/java/lib/tools.jarStarting 
tomcat. Check logs/tomcat.log for error messages 2001-11-29 18:56:26 - 
ContextManager: Adding context Ctx( /examples )2001-11-29 18:56:27 - 
ContextManager: Adding context Ctx( /admin )2001-11-29 18:56:27 - 
ContextManager: Adding context Ctx(  )2001-11-29 18:56:27 - 
ContextManager: Adding context Ctx( /test )2001-11-29 18:56:27 - 
ContextManager: Adding context Ctx( /soap )2001-11-29 18:57:43 - 
PoolTcpConnector: Starting HttpConnectionHandler on 80802001-11-29 18:57:48 
- PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
 
Yet when I run the List command, it will give me the same 
error messages.
 
Sunder, I'm very grateful for your help, and I need your help! 
When I typed "echo $CLASSPATH" in the terminal, the result is 
/home/cboy/soap/soap-2_2/lib/soap.jar:/home/cboy/soap/javamail-1.2/mail.jar:/home/cboy/soap/jaf-1.0.1/activation.jar:/home/cboy/soap/xerces-1_2_3/xerces.jar:/home/cboy/soap/soap-2_2
Is is right? And what did I forget??
Thank you again!
 
-Baosong

  - Original Message - 
  From: 
  V.Sundaresan 
  To: Baosong Shan 
  Sent: Wednesday, November 28, 2001 3:01 
  PM
  Subject: RE: An Installation Question
  
  shan,
  
Why don u make use of their tomcat.sh instead. Like 
something is missing over here. 
Set the tomcat home and 
java home properly in that file or in the shell and try it 
again.
 
-sunder
 
 
 -Original 
Message-From: Baosong Shan 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 28, 2001 
12:11 PMTo: [EMAIL PROTECTED]Subject: 
Re: An Installation Question
Dear sunder,
 
I'm very grateful for your help!
But unfortunately, it doesn't work. :(
I would like to tell you my problem in 
detail:
1. I installed jdk1.3, soap 2.2, javamail 1.2, jaf 1.1.1, 

Since I'm a newcomer, I have many questions.
First, after I installed jdk1.3, java and other commands 
are not in the PATH. How should I do? And also the CLASSPATH.
Second, I write two shell file to startup and 
List:
 
/home/cboy/mystartup.sh:
 
#!/bin/shJAVA_HOME=/usr/javaexport 
JAVA_HOMETOMCAT_HOME=/home/cboy/soap/jakarta-tomcat-3.2.4export 
TOMCAT_HOMECLASSPATH=/home/cboy/soap/soap-2_2/lib/soap.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/javamail-1.2/mail.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/jaf-1.0.1/activation.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/xerces-1_2_3/xerces.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/soap-2_2CLASSPATH-${CLASSPATH}:/usr/java/jre/lib:/usr/java/libexport 
CLASSPATH$TOMCAT_HOME/bin/startup.shecho $CLASSPATH
/home/cboy/mylister.sh:
 
JAVA_HOME=/usr/javaexport 
JAVA_HOMECLASSPATH=/usr/java/lib:/usr/java/jre/libCLASSPATH=${CLASSPATH}:/home/cboy/soap/soap-2_2/lib/soap.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/javamail-1.2/mail.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/jaf-1.0.1/activation.jarCLASSPATH=${CLASSPATH}:/home/cboy/soap/xerces-1_2_3/xerces.jarexport 
CLASSPATHjava org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
listecho $CLASSPATH
And I modified the file 
/home/cboy/soap/jakarta-tomcat-3.2.4/bin/tomcat.sh(line112-116):
if [ "$oldCP" != "" ]; then    

Re: Abstarct method error

2001-11-29 Thread P Sreenivasa Rao



Hi Csilla,
Thank you for immediate reply.I'll get back to 
you.
Have a nice time,
 
regards,
Sreenivas

  - Original Message - 
  From: 
  Aczel 
  Csilla 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, November 29, 2001 2:52 
  AM
  Subject: Re: Abstarct method error
  
  Once I had a similar problem with WSTK. It 
  was a classpath problem, because there was some jar files (e.g. 
  xerces.jar) in the %javahome%\jre\lib\ext directory. I renamed this 
  directory (aext) and it resolved the conflict.
   
  I hope, this will help you,
  Csilla


Re: Abstarct method error

2001-11-29 Thread Aczel Csilla



Once I had a similar problem with WSTK. It was 
a classpath problem, because there was some jar files (e.g. xerces.jar) in 
the %javahome%\jre\lib\ext directory. I renamed this directory (aext) and it 
resolved the conflict.
 
I hope, this will help you,
Csilla


Abstarct method error

2001-11-29 Thread P Sreenivasa Rao



Hi all,
 
I'm getting the following error.
 
Exception in thread "main" 
java.lang.AbstractMethodError    at 
org.apache.soap.util.xml.DOM2Writer.print(DOM2Writer.java:139)    
at 
org.apache.soap.util.xml.DOM2Writer.serializeAsXML(DOM2Writer.java:98)    
at 
org.apache.soap.Utils.marshallNode(Utils.java:109)    
at 
org.apache.soap.encoding.literalxml.XMLParameterSerializer.marshall(XMLParameterSerializer.java:109)    
at 
org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333)    
at 
org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:307)    
at 
org.apache.soap.Body.marshall(Body.java:145)    
at 
org.apache.soap.Envelope.marshall(Envelope.java:195)    
at 
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:246)    
at 
org.apache.soap.rpc.Call.invoke(Call.java:205)    
at 
samples.addressbook.GetAccountBalanceElement.main(GetAccountBalanceElement.java:127)
 
what could be the culprit?I'm using Tomcat3.2.2 ans 
Apache soap toolkit...
 
TIA,
Sreenivas


smime.p7s
Description: application/pkcs7-signature


Re: using IBM Web Service Tool Kit(wstk2.4) with tomcat4.0/soap2.2

2001-11-29 Thread Thomas Krogh

Im using Tomcat 4.0 along with Apache Soap 2.2 too. I chose not to overwrite
any config files while installing, and simply added the appropriate jars too
my classpath (see below). I can still run my Tomcat/SOAP samples like I did
earlier. There is a problem though. I cant compile the
NasdaqQuotesClient.java so I never got to try out UDDI. Does anybody know
what to do to make it compile? Error msg.:

NasdaqQuotesClient.java:42:
invoke(com.ibm.wstk.service.client.ServiceRequest)
in com.ibm.wstk.service.client.ServiceProxy cannot be applied to
(java.lang.String,java.lang.String[],java.lang.String,org.apache.soap.encodi
ng.SOAPMappingRegistry)
Response res = proxy.invoke(operation, args, encStyle, getSMR());
^
1 error


My classpath:
.;C:\Progra~1\jakarta-tomcat-4.0.1\common\lib\xerces.jar;C:\Progra~1\jakarta
-tomcat-4.0.1\common\lib\activation.jar;C:\Progra~1\jakarta-tomcat-4.0.1\com
mon\lib\mail.jar;C:\Progra~1\soap-2_2\lib\soap.jar;C:\wstk-2.4\lib\wstk.jar;
C:\wstk-2.4\wsdl4j\lib\wsdl4j.jar;C:\wstk-2.4\tutorial\NasdaqQuotes\lib\Nasd
aqQuotes.jar;C:\wstk-2.4\uddi4j\lib\uddi4j.jar;C:\wstk-2.4\tutorial\NasdaqQu
otes\src\com\ibm\samples\nasdaqQuotes


regards
thomas

- Original Message -
From: "Sandy Liu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 5:57 PM
Subject: using IBM Web Service Tool Kit(wstk2.4) with tomcat4.0/soap2.2


> Hi,
> I installed Tomcat 4.0 along with Apache Soap 2.2. Everything was working
> fine.  Recently, I installed the IBM web service tool kit (wstk2.4) and I
> had a hard time to get it working right. Is there anyone had this
experience
> before?
> Here's the instruction I followed, which is given by an article in the
> current issue of XML Magazine:
>
http://www.xmlmag.com/upload/free/features/xml/2001/11nov01/sr0111/sr0111.as
> p
>
> If I choose to overwrite the web.xml and server.xml during the wstk
> configuration for Tomcat, my tomcat server won't work properly or the
>  doesn't work.
>
> Any suggestion on this will be greatly appreciated.
>
> Thanks,
>
> Sandy
>
>




RE: calling stateless EJB via SOAP

2001-11-29 Thread Bernd Proissl

I currently investigating the same problem. If I have more info I will
let you know

Bernd


> -Original Message-
> From: Winkler Lisa-P29719 [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 9:45 PM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: calling stateless EJB via SOAP
> 
> 
> I found the following post on the archives and was wondering if there was any 
>resolution.  I am having exactly the same 
> problem.  I'm sure it's a classpath problem but I don't know where I could put my 
>ejb jar to make SOAP happy.  I even 
> tried stuffing it in the soap.war that is deployed in Tomcat, which I shouldn't have 
>to do but I was getting desperate!  
> Has anyone solved this problem?
> 
> Thanks,
> Lisa
> 
> -
> List: soap-user
> Subject:  calling stateless EJB via SOAP
> From: "Cook, Martin" <[EMAIL PROTECTED]>
> Date: 2001-08-27 16:47:22
> [Download message RAW]
> 
> I am attempting to use Apache ver 2.2 SOAP to call a stateless EJB deployed
> in JBOSS ver 2.2.2. The error I get back from Apache is:
> 
>   Fault Code   = SOAP-ENV:Server
>   Fault String = Error in connecting to EJB
> 
> The JBOSS log shows this:
> 
>   [EmbeddedTomcatSX] In TemplateProvider.locate() 
>   [EmbeddedTomcatSX] URI: urn:getAddressTypes
>   [EmbeddedTomcatSX] DD.ServiceClass:
> org.apache.soap.providers.StatelessEJBProvider
>   [EmbeddedTomcatSX] DD.ProviderClass: null
>   [EmbeddedTomcatSX] Call.MethodName: getXML
>   [EmbeddedTomcatSX] Exception caught: javax.naming.CommunicationException
> [Root exception is java.lang.ClassNot
>   FoundException: oneok.ocms.bll.getAddressTypesHome]
> 
> 
> My client code is roughly:
> 
>   URL urlRouter = new URL ("http://localhost:8080/soap/servlet/rpcrouter";);
> 
>   Call call = new Call ();
>   call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
>   call.setTargetObjectURI ("urn:getAddressTypes");
>   call.setMethodName ("getXML");
>   Response resp = call.invoke(urlRouter, "");
> 
> 
> My SOAP deployment descriptor is:
> 
>   
>   http://xml.apache.org/xml-soap/deployment";
>  id="urn:getAddressTypes">
>  scope="Application"
> methods="create">
>   
>value="oneok.ocms.bll.getAddressTypesHome" />
>   
>value="org.jnp.interfaces.NamingContextFactory" />
> 
>  
> org.apache.soap.server.DOMFaultListener r>
>   
> 
> 
> My EJB works with "traditional" java clients, just not with the SOAP client.
> 
> I haven't noticed any other problems with my Apache or JBOSS installations,
> and yes, I do have the xerces.jar file listed first in my classpath...
> 
> I even tried adding the jar file for my EJB to the classpath, and
> restarting, but that didn't help either!
> 
> Does anyone have any ideas?
> 
>