You'd have to look at the SOAP spec to see what the valid response is; I
think teh w3c have added a new error code 425 for mustunderstand header
problems, there should be something else for 'you send bad stuff and it aint
a server side problem'; if not, raise it as an issue.
We got a support call
Naresh Bhatia wrote:
> I am trying to load a WSDL generated by Axis (Java2WSDL) into Visual
> Studio .NET. Visual Studio loads it without any complains. A web
> reference is created for the service but the associated classes are
> not created. Any idea where I could look for the problem?
>
T
Hi All-
I have a client that needs to use MS Client and access our SOAP service.
Question? How can I set the Authorization Basic element in the SOAP Request
through MS-Client. In the java client I use Call.setPassword and
Call.setUsername. Is there any equivalent call on the Microsoft.XMLHTTP
ob
Whenever a malformed SOAP message (malformed as in, is not well-formed
XML), is sent to the AxisServlet (org.apache.transport.http.AxisServlet)
via an HTTP POST, a HTTP response code of 500 Internal Server Error is
sent back.
My question is: Is there anyway to override this default behavior,
Well, I found the answer in the archives and it worked.
Thanks.,
>>
>> Try setting the "className" parameter in the wsdd file to your Remote
>> Interface of the bean you're trying to expose.
>>
>>
>> ...
>>
>>
>>
>> -Bob
>>
-Original Message-
From: Ramaswamy, Muthu [mailto:[EMAIL
- Original Message -
From: "olivier brand" <[EMAIL PROTECTED]>
To: "axis" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 12:41 PM
Subject: Inconsistant behavior with the ServiceLifeCycle
> I have noticed other inconsistencies with the ServiceLifeCycle
> (different than the one I have d
Hi All-
I am using Axis Beta2.0 Release. When I tried to access the EJB service, I
get the error: No such operation 'getApprovalEntry'. I searched the list
archives but didn't find a solution.
Is this fixed in Beta 2 or Do I have to switch over to Beta 3. Appreciate
your help.
Thanks.,
-Muthu
Jim -
First
- thanks for sharing info that saved (who knows how many) hours of
troubleshooting.
Secondly - have you had any
trouble due to the missing type
information?
I have
implemented the suggested work-around (set zero-length arrays to NULL)
which helps my .NET client,
but my
Scott,
I am very interesting in this topic and are looking for your help.
If my Java Bean has other objects as the data type and inner classes,
Do I need to type mapping for all the other classes which are used in
this Java Bean in deployment descriptor?
How about the inner clas
I found a solution fixing the generated skeletons:
Instead of proxying to the implementation (The SoapBindingImpl), why not
just extending the SoapBindingImpl ?
I have done it and it works like a charm.
So you would have something like this:
public class MySoapBindingSkeleton extends MyServic
Title: Enabling .NET client to maintain session with Axis web service
You can use a IHeaderHandler and overrite the methods to
capture the session ID and write it out in the SOAP header; that part is oulined
in the msdn docs. You would also need set up a SimpleSessionHandler on the
service s
Title: .NET does not take WSDL generated by Axis
Thanks
Dan.
So I
ran my wsdl using VisutalStudio's WSDL tool and it gives me the following
error:
Error:
Unable to import binding 'ossSoapBinding' from namespace
'http://www.oss.org/oss'. - Unable to import operation
'echoTransaction'.
Title: Enabling .NET client to maintain session with Axis web service
Is there a way to ask a .NET client to maintain a session with a web service developed in Axis. Here's my .NET code that needs to maintain a session between the calls sendToken() and getToken().
MySvc.MyService ws = new
I have been having some difficulty using Axis beta3 with Weblogic 6.0, and have seen
others having
similar problems in the mailing list archive - without resolution.
http://marc.theaimsgroup.com/?l=axis-user&m=101068604131056&w=2
I was getting an AbstractMethodError on the server from line 199
Title: .NET does not take WSDL generated by Axis
You
may want to try using the WSDL tool (wsdl.exe in
Microsoft.NET\FrameworkSDK\Bin)
outside of VisualStudio and then add the created resources to your
project if this is successful.
type
the command only for a list of options.
Dan
I have noticed some weird behaviors when dealing with the ServiceLifecycle.
On a generated java framework using WSDL2java the class managed by the JavaProvider
class is the SOAPBindingSkeleton. The "real" implementation is in the SOAPBiningImpl.
This is the one implementing the ServiceLifecycle.
Title: .NET does not take WSDL generated by Axis
I am trying to load a WSDL generated by Axis (Java2WSDL) into Visual Studio .NET. Visual Studio loads it without any complains. A web reference is created for the service but the associated classes are not created. Any idea where I could look fo
I have type mappings and hence serialisers for all my classes, however, when
serialising the return value Axis uses the xml type rather than the actual
value type when determining which serialiser to use.
I have solved the problem by writing a custom serialiser that figures out
the 'real' class a
I have successfully made the round trip from client to server and back over
https! By changing the setProperty to use an absolute pathname for the
trustStore, and adding one for the keyStore, I was able make the roundtrip.
I've included that below in case it may be of use to someone else.
One
It's best to be comply with specs.
Russell Butek
[EMAIL PROTECTED]
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: RE: Axis beta 3 feedbacks: bugs, improvement,
I believe the problem there (in the Beans spec) was what to do about "holes
I have noticed other inconsistencies with the ServiceLifeCycle
(different than the one I have described in a recent email).
It seems that the init method is not being called in ceratin cases and I
do not know why.
Can someone tell me if the init is always being called when the service
implement
Sean,
look at jsse reference guide in jdk1.4 version
/jdk1.4/docs/guide/security/jsse/JSSERefGuide.html#Customization
it will tell you how to create a valid and proper keystore.
rajesh
"Cohan, Sean" <[EMAIL PROTECTED]> on 12 Jul 2002 14:41
Please respond to [EMAIL PROTECTED]
To:
I
believe the problem there (in the Beans spec) was what to do about "holes"
caused by the set-by-index operation:
bean.setArray(new Object[3] { ..., ..., ... });
bean.setArray(12, new Object()); // Do we grow to 12 and leave 8 holes of
null Object refs?
That
said, do you have to be 100%
..
I'm just getting into webservices and am trying to play around with Axis, testing a
bunch of typical scenarios. Here's a not so interesting one. I have two methods
display(String [])
display(Object [])
Obviously, if it's all string I want to do one thing. If it's just object, I want to
- Original Message -
From: "Rick Fishman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 8:27 PM
Subject: Tomcat4.0.4/Beta 3/server-config.wsdd
> I have been playing with Axis beta 2 with Tomcat 4.0.1 for a while and
have
> had no problems.
>
> I downloaded To
- Original Message -
From: "Doug" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 6:42 AM
Subject: Re: Happiness Page keeps complaining about server-config.wsdd
> me too.
>
> --- "Schie, Sjaak van"
> <[EMAIL PROTECTED]> wrote:
> > Still get next message. Even
Here you are trying to specfiy your own keystore which is located at
gov/doc/bis/snap/clienttruststore location.
This can be set from following system property as you said.
// Set the truststore for authentication
System.setProperty("javax.net.ssl.trustStore",
"gov/doc/bis/snap/cli
Hmm.. I don't know about this... Here is how I created my keystore..
Hope this helps...
keytool -import -alias juice -file my-server.cert -keystore
client.keystore
Check out that URL I sent in one of my previous messages, it has a very
good article that might answer some of your questions.
J
Thanks, Jeremy. I thought it might be a directory path. Once I changed it
to a win directory, the trustStore was no longer not found. However, I get
an invalid keystore format error now. Babysteps.
I changed the storetype of the trustStore from JCEKS to JKS to see if that
would help, but I
For the setXXX(index, element) we USED to grow the array, if necessary. But we discovered that was wrong. According to the JavaBeans spec, section 7.2, the indexed setter should not establish or grow the array. So we complied. What a bummer.
Russell Butek
[EMAIL PROTECTED]
Please respond to
Try
// Set the truststore for authentication
System.setProperty("javax.net.ssl.trustStore",
"gov/doc/bis/snap/clienttruststore");
I don't know what platform this is on, but try the slashs like \\
Also, the path you specific is going to be relative to the user.dir
system property.. I
in the client code, I also mistyped the trustStore location property (at
least as presented in the book "AXIS Next Generation Java SOAP".)
Although I'm not really sure how this property is being accessed (e.g., as a
URI) and how the front of it is resolved (e.g., classpath, off of webapps,
etc)
Hi,
Background:
I am trying to generate a webservice, AuthWebSvc, with two operations,
Login and soaptest. (the attached wsdl fragment describes my bindings and
service section of my WSDL)
The key, is that I am attempting to provide, different soap
addresslocations for the different operati
Do you define a Serializer in your deploy.wsdd file for all your classes, or
just the abstract class? I'm not sure if this will fix your problem, but I
believe that Axis will only serialize the classes that are specified in the
wsdd file. The only thing I'm not sure of is if Axis will match the
This is just how the browsers react to seeing xml. It's nothing to do
with axis. wsdl isnt really meant to be viewed this way by a human, its
how other clients would grab the wsdl from your server.
WRT the Opera crash, I notice from their build logs there were 'dom
related crashes' in versions
Title: Bean serialization problem
You need to specify the Serializer in the deploy.wsdd
file. I have found that when no Serializer is specified, Axis will
generate this error. See the UserGuide on how to setup simple serializers
for classes that follow the Bean pattern. If these simple
Title: Bean serialization problem
Did you make sure it's in your wsdd? Something
like:
languageSpecificType="java:your.package.PayResponse"/>
- Original Message -
From:
Michael Roytman
To: [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 8:54 AM
Subje
Title: Bean serialization problem
Hi,
could
be that I had the same problem. Look at the namespace entries you set in your
deployment mapping and in your client mapping.
Regards
Christian
[Christian Schmitz]
-Original
Message-From: Michael Roytman
[mailto:[EMAIL PROTECTED]]Sent: Fr
Title: Bean serialization problem
Hello,
I have been playing with Axis beta2 (with Tomcat 4.0.4) for a couple of days.
I have deployed a simple webservice as jws file that returns my PayResponse bean.
I am having problems with bean serialization when calling a method, here is the trace from
We have succesfully migrated from beta 2 to beta 3. But this was not as
smooth as it should have been, see my comments bellow:
- Our WSDLs contains complex types with some elements defined with a
maxOccurs="unbounded". This is naturally turned into an array by the
WSDL2Java. There are 2 setXXX
I haven't used SSL in Axis only in but is SOAP 2.3...
JSSE looks for truststores using the following algorithm.
If the javax.net.ssl.trustStore system property is defined, then the
value of this property is used as the truststore's location.
If the file lib/security/jssecacerts file is defined
Can anyone point me to the documentation that defines how java types are
mapped to SOAP types? I would like to find the Java time that maps a SOAP
dateTime type. If this documentation exists, please add it to the User
Guide, since this is critical to building services.
>From inspecting the Axis
probably has nothing to do with log4j, but for those who need to get beta3
running:
i had to add saaj.jar to my libraries (classpath)
Stephan
> -Original Message-
> From: Fishman, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 5:03 PM
> To: '[EMAIL PROTECTED]'
> Subjec
I am having a similar problem that seems to involve log4j.
I put log4j-1.2.4.jar in common/lib as well as webapps/axis/WEB-INF/lib.
If I do a 'validate' from the Axis welcome page, on the Tomcat console I see
a ClassCastException for log4j.FileAppender and a 'ConsoleAppender is not
assignable
Thanks you, Geza. In my client code, I did mistype javax.net.ssl.trustStore
as javax.net.ssl.truststore
After I changed it to
// Set the truststore for authentication
System.setProperty("javax.net.ssl.trustStore",
"gov.doc.bis.snap.clienttruststore");
and recompiled (and restarted tomcat) I g
Thank you, Rajesh. I do need some more help since I don't know how to
determine whether I have root certs in my keystore. I'll tell you how I
created my serverstore and clientstore (following the example in "AXIS next
Generation Java SOAP".) Hopefully, that will clue you in to what my problem
i
I struggled with the same thing the whole day.
My problem turned otu to be the bloody system property.
Watch out because it is case sensitive. It has to be
javax.net.ssl.keyStore, with capital "S"
So you have to set keystore and truststore too (if it's the case).
> I tried that. I'm really
...
on IE6 the contents of the wsdl file are displayed (GOOD)
on Navigator 6 a completely empty page is shown but the contents of the wsdl file can
be seeing if a "view source" is done on the page (NOT TOO GOOD)
on Opera 6 the browser crashes
Mike
Hey Sean,
Do you have root certificates in your key store which makes a specific
certificate trusted.
whenever you access a secure web server or ssl stuph, you get a complete
chain of certificates.
the lowest certifcate in that chain belongs to the web server or the domain
name such as www
I tried that. I'm really a fish out of water here, but it looks my
clienttruststore is not recognized (based on the 'keyStore is : ' line
below.) Any help sorting this out is greatly appreciated since I'm
stumbling around in the dark (but learning which is good.) Here's the top
portion of the o
I already asked this, but never got an answer, so i try again:
How do i tell AdminClient to use a username/password when
deploying a service?
-u and -p don't seem to work. what i get is an
"Authorization Required" message (of course) when trying to
deploy.
I really need a hint, since it makes
I am trying out axis with weblogic 6.1 sp3. I could
easlily deploy the samples web services that come with
axis. But when I try to deploy a service of my own
using AdminClientI am getting following exception on
the Server.
I also tried
"-Daxis.ServerConfigFile=C:\Temp\server-config.wsdd "
b
Hi,
I'm thinking of having a hierarchical structure to the
service description in my WSDL file, for example:
1. Output device
1.1 Printer
1.1.1 Laser Printer
1.1.2 Inkjet printer
1.2 Screen
1.2.1 CRT
1.2.2 LCD
2. Information
2.1 Weather
2.2 Currency Converter
and so on
So I plan to put t
I am trying to call a .net WebService
The classes generated using WSDL2Java tool look like this
public class MyTask implements java.io.Serializable
{
private MyTaskDateTime startTime;
...
}
public class MyTaskDateTime implements ja
Hi,
Try running your client and server with SSL debug ON.
(java -Djavax.net.debug=ssl ...) This way you can see what's really
happening. You can find out whether the system finds your trusstore file.
Or maybe the problem is exactly what the exception says: there is
no proper certificate in yo
55 matches
Mail list logo