[JBoss-user] [JBossWS] - Re: Exception when calling web service

2005-02-14 Thread Mette
I agre that it is. Yet the example on http://www.jboss.org/wiki/Wiki.jsp?page=WSServerJSE breaks the message into its parts, or in this case, part. Hence my question, how do I work with the whole document, and how do I reconcile the JSE documentation, which shows the document disassembled into p

[JBoss-user] [JBossWS] - Re: Exception when calling web service

2005-02-04 Thread Mette
I managed to figure out why these warnings appeared. this was generated XML in the wsdd (from WSDL2Java), and the prefix declaration appeared on the same element as the attribute whose value used the prefix, and it seems the processing code could not handle this! When I moved the namespace decla

[JBoss-user] [JBossWS] - Re: How to write a client that calls a document-style web se

2005-02-01 Thread Mette
I found the problem that was causing the exception! I do not remember exactly how I created the jax-rpc mapping file, but I assume I must have copied and pasted it from somewhere and changed the details to fit my own. On the root element of the mapping file was the following schemaLocation: x

[JBoss-user] [JBossWS] - Re: How to write a client that calls a document-style web se

2005-02-01 Thread Mette
It was 4.0.0, I retried it in 4.0.1 with the same result: Exception in thread "main" javax.xml.rpc.ServiceException: org.xml.sax.SAXException: src-resolve: Cannot resolve the name 'j2ee:dewey-versionType' to a(n) type definition component. @ *unknown*[257,22] | at org.jboss.webservice.cli

[JBoss-user] [JBossWS] - Re: Exception when calling web service

2005-02-01 Thread Mette
I am trying to figure that out, although it might take me a while as I don't have very much knowledge of the underlying code. I will get back to you if I get any more information. However, I did find these warnings output on deployment , which I realize come from the parsing of the wsee-deploy

[JBoss-user] [JBossWS] - Re: Exception when calling web service

2005-01-31 Thread Mette
I tried updating to 4.0.1, n case this issue might have been fixed. i still get a null pointer exception, but this time I get several, so there may be more clues as to what is going wrong. Please help! anonymous wrote : [exec] java.lang.NullPointerException | [exec] at org.apac

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-28 Thread Mette
I apologize if I keep asking more questions, but I am still not able to connect the dots. The code you sent me (and the class was not in the snapsot, which is odd) seems to me to be a demonstration of how a client can construct a message in several different ways. i can use that information, so

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-28 Thread Mette
Since noone has respnded to Alex's questions, and I am somewhat in the same boat, and still stuck. I too have looked for MessageEndpointTestCase in the latest CV Head snapshot, and it isn't in there. Also, I have read and re-read the section in the JAX-RPC spec, but I am very unclear of exact

[JBoss-user] [JBossWS] - Exception when calling web service

2005-01-28 Thread Mette
I am developing a document style web service in JBoss as a JSE, with custom serializers/deserializers. I have created all the appropriate mapping and configuration files, as far as I know (wsdl file, jaxrpc-mapping.xml, web.xml, webservices.xml, ws4ee-deployment.xml). The service deploys withou

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-28 Thread Mette
"omatzura" wrote : Hi! | | We have nodatabinding webservices working under jboss 4.0.1. Regarding mapping of all operations to one method you could probably do this by handcoding operation to method mapping under in the jaxrpx-mapping.xml file | | good luck! | | /Ole When you sa

[JBoss-user] [JBossWS] - Re: How to write a client that calls a document-style web se

2005-01-27 Thread Mette
I tried using the code in the Wiki entry you linked to, changing names and namespaces as appropriate, obviously, and on the call to serviceFactory.createService, I get the exception below. Any idea what on earth it might mean??? Exception in thread "main" javax.xml.rpc.ServiceException: org.xm

[JBoss-user] [JBossWS] - Re: How to write a client that calls a document-style web se

2005-01-27 Thread Mette
I created the WSDL by hand, using available examples. I aso created the jx-rpc mapping file, and that part is fine. Howvere, the wiki did not explain what to do with this file, beyond " the client should be given a pointer to the jaxrpc-mapping.xml file, which the standard JAXRPC javax.xml.rpc

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-26 Thread Mette
I figured out what the problem was myself. The classes mentioned in the warnings were indeed present in the war, and were not actually the problem. However, a jar that contained the superclasses of these classes, was not in the war file, and thus could not be loaded. When I added this jar to the

[JBoss-user] [JBossWS] - How to write a client that calls a document-style web servic

2005-01-26 Thread Mette
I have created a JSE web service, document-style, and I am currently creating the client part, to test the deployed service. I have done a cut and paste of the client code in the Wiki, and replaced the names, url's and so forth, but wen i try to run it, I get the following exception: Exception

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-12 Thread Mette
Ole, thank you for the reply. I tried adding mappings for my two global elements, like you suggested, right after the package-mapping elements, as per the schema for the mapping file. However, my warnings do not go away, nor does the console error. I tried both having the classes in the jar and

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-12 Thread Mette
Thank you for forwarding the article, it looks really interesting, and I will be sure to give it a thorough read. However, I was more interested in how to specifically accomplish what Thomas suggested above above, as I assume there must be a way to do what he suggests. The reason I ask the que

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-11 Thread Mette
I am using a JSE, so that part is not a problem. However, it is not obvious to me how to access the SOAPEnvelope. I have looked around based on some of the key words that you provided in your reply, but was unable to find anything. Is there any documentation for how to do this? View the origin

[JBoss-user] [JBossWS] - Is there a way to get the soap body as raw XML?

2005-01-11 Thread Mette
I have been trying to use custom types for my web service, but have been running into problems with it, and I have been reflecting on how a far easier thing for me would be to simply get access to the raw XML contained in the SOAP message. This way I can unmarshal the XML document myself in the

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-11 Thread Mette
I tried copying the compiled class directory structure for the classes in question into WEB-INF/classes in my war. I redeployed, and double checked in the expanded war file in temp, and the classes were indeed in the right location. However, I still get the warning that the classes cannot be fou

[JBoss-user] [JBossWS] - Problem with using custom datatypes in WSTypeMapping

2005-01-10 Thread Mette
I am creating a document/literal web service, and I wish to use my own custom classes for the types used by the web service. I have therefore gone the path described in: http://www.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping However, I am having a hard time getting it to work. Specifically, it s

[JBoss-user] [Beginners Corner] - Re: Problem connecting to Hypersonic using JBoss 4.0

2004-12-03 Thread Mette
I also ran into this issue, and I found another post regarding the exact same issue. It appears to me that the default setting in the config file has changed at some point, making the documentation invalid. It tells you to change the two items, but the third must be changed also in order for eve

[JBoss-user] [Beginners Corner] - Re: Need help with setting up database with Duke's Bank

2004-12-03 Thread Mette
I forgot to escape the XML tags, what I mean was, Change jboss:service=Hypersonic,database=localDB to jboss:service=Hypersonic View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857393#3857393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Beginners Corner] - Re: Need help with setting up database with Duke's Bank

2004-12-03 Thread Mette
I too ran into the same problem. It seems the default setting in the hsql file changed, and the documentation did not keep up. There is in fact a third item you also have to change to make it work. Change: jboss:service=Hypersonic,database=localDB to jboss:service=Hypersonic This i