[JBoss-user] [JBossWS] - Re: RPC/Encoded support

2006-05-23 Thread Dust_Puppy
i have a similar question
i need to use a 3 party rpc/encoded webservice, so this cant be done in jbossws 
? 
what is your suggested solution to this problem ?

/Dust

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945666#3945666

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945666


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find child element: not using namespace ?

2006-05-22 Thread Dust_Puppy
solved the problem.. to get it to use namespace for its element i needed to 
extract the part to its own element like


  | 
  | 
  | 
  | 
  | 

if thos can help anyone else =)

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945250#3945250

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945250


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find child element: not using namespace ?

2006-05-22 Thread Dust_Puppy
This might be a really stupid question but I can?t get this to work =/ any 
input is appreciated 

Should not the namespace specified in the soap operation be used when parsing 
the incoming xml ? i use a JSR-109 client as described in the documentation.. 

Now I cant se any different in behavior when i change the namespace of a 
operations body.. Not even in the outgoing message is this not a bug ?

like 
  |   
  |   
  | http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://netcom.no/xil/2003/09/location"; use="encoded"/>
  |   
  |   
  | http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://netcom.no/xil/2003/09/location"; use="encoded"/>
  |   
  | 


the outgoing namespace is always the same 

  |  
  |  
  |   
  |Location Web Service version 
1 build 007
  |   
  |  
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945228#3945228

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945228


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find child element: not using namespace ?

2006-05-19 Thread Dust_Puppy
i think my problem is that my message has the namespace on getVersionResponse 


  |  
  |  
  |   
  |Location Web Service version 
1 build 007
  |   
  |  
  | 

in other webservices i have tried the "part" dont have a the namespace on it, 
is there a way to define this in the WSDL or is this message not following the 
standard ?

/Dust

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944891#3944891

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944891


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Cannot find child element: not using namespace ?

2006-05-18 Thread Dust_Puppy
Hi
i get javax.xml.rpc.JAXRPCException: Cannot find child element: 
getVersionReturn when i am calling an external webservice from AS 4.0.4.GA.

i have the folowing WSDL

  | 
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  | 
  |   
  |   
  | http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://netcom.no/xil/2003/09/location"; use="encoded"/>
  |   
  |   
  | http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://netcom.no/xil/2003/09/location"; use="encoded"/>
  | 
  | 
  | 
and i have used wstool to generate the jaxrpc maping

  |getVersion
  |getVersion
  |
  | java.lang.String
  | wsdlMsgNS:Location_getVersionResponse
  | result
  |
  |   

i turnd on debuging and got the following output
17:09:58,232 DEBUG [SOAPConnectionImpl] Outgoing SOAPMessage
  | 
  |  
  |  
  |   
  |  
  | 
  | 17:09:58,232 DEBUG [HTTPClientInvoker] Setting request header with 
SOAPAction : ""
  | 17:09:58,232 DEBUG [HTTPClientInvoker] Setting request header with 
Content-Type : text/xml; charset=UTF-8
  | ...
  | 
  | ...
  | 17:09:58,263 DEBUG [MessageFactoryImpl] createMessage: 
[contentType=text/xml; charset=utf-8]
  | 17:09:58,263 DEBUG [SOAPContentElement] setXMLFragment: 
Location Web Service version 1 
build 007
  | 17:09:58,263 DEBUG [SOAPConnectionImpl] Incomming Response SOAPMessage
  | 
  |  
  |  
  |   
  |Location Web Service version 
1 build 007
  |   
  |  
  | 
  | 17:09:58,263 DEBUG [SOAPBindingProvider] unbindResponseMessage: 
{http://netcom.no/xil/2003/09/location}getVersion
  | 17:11:14,327 DEBUG [MessageContextAssociation] popMessageContext: [EMAIL 
PROTECTED]
  | 17:11:14,327 ERROR [STDERR] java.rmi.RemoteException: Call invocation 
failed: Cannot find child element: getVersionReturn; nested exception is: 
  | javax.xml.rpc.JAXRPCException: Cannot find child element: 
getVersionReturn

i downloaded the jbossWS source and debuged the code in the method 
org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage()  
it compairs xmlName and elName chich in my case are
xmlName= getVersionReturn
elName= {http://netcom.no/xil/2003/09/location}getVersionReturn

i have tryed to modefly booth wsdl and jaxrpc but nu sucsess =(, should it not 
use the namespace on the "part" that i specefy in the operation ?

i hope someone can help me with this becaus i am out of ideas =/

many thanks
/ANders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944632#3944632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944632


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - including a queue configuration in an EAR

2006-05-16 Thread Dust_Puppy
Hi
is there a way to include a queue configuration with a application ?

placing the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943142#3943142

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943142


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: EJB3 webservice tutorial

2006-04-28 Thread Dust_Puppy
i answer my own post as usual =)
i solved this by adding the service-ref to a application client and lookup the 
webservices throw that.. 

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940064#3940064

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940064


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - EJB3 webservice tutorial

2006-04-27 Thread Dust_Puppy
Hi
i have run the EJB3 webservice tutorial and it works fine. but i need to 
consume the webserivece from an bean. As I understand this should be done with 
@webserviceref which is not implemented yet so i tried to use the tutorial 
client code 
URL url = new URL("http://localhost:8080/tutorial/CalculatorBean?wsdl";);
  |   QName qname = new 
QName("http://bean.webservice.tutorial.jboss.org/jaws";,
  |   "CalculatorService");
  | 
  |   ServiceFactory factory = ServiceFactory.newInstance();
  |   Service service = factory.createService(url, qname);
  | 
  |   Calculator calculator = (Calculator) 
service.getPort(Calculator.class);
  | 
  |   System.out.println("1 + 1 = " + calculator.add(1, 1));
  |   System.out.println("1 - 1 = " + calculator.subtract(1, 1));

this however resulted in a Nullpointer @ JSR109ClientMetaDataBuilder.java:72

My question is: is this a correct way to do this ? 
I thought that the problem was that the correct jars was not included but i 
have tried to add from the jboss/client but i continue to get this error...

Thanks
/Anders


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939751#3939751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939751


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: java.lang.ClassCastException: org.jboss.mq.SpyQueue when

2006-04-25 Thread Dust_Puppy
solved it..
i had the MDB in another jar then the class doing the lookup(both in a EAR), 
when puting them in the same it worked =)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939165#3939165

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939165


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - java.lang.ClassCastException: org.jboss.mq.SpyQueue when cas

2006-04-25 Thread Dust_Puppy
Hi
i have put up a simple message driven bean on AS 4.0.4rc2

  | @MessageDriven(activationConfig =
  | {
  | @ActivationConfigProperty(propertyName="destinationType",
  | propertyValue="javax.jms.Queue"),
  | @ActivationConfigProperty(propertyName="destination",
  | propertyValue="queue/PositioningRequests")
  | })
  | public class PositioningListner implements MessageListener{
  | 
  | public void onMessage(Message message) {
  | TextMessage textMessage = (TextMessage)message;
  | System.out.println("Recived Positioning Request for:" 
+textMessage);
  | 
  | }
  | 
  | }

this gets deployed fine and the queue gets auto created but when i try to acces 
it with
 InitialContext ctx = new InitialContext();
  | Object obj = ctx.lookup("queue/PositioningRequests");
  | System.out.println(obj.getClass());
  | javax.jms.Queue queue = (javax.jms.Queue)obj;

i get java.lang.ClassCastException: org.jboss.mq.SpyQueue 
could it be a classloader problem ?

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939153#3939153

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939153


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB listening on sonicMQ

2006-04-21 Thread Dust_Puppy
If anyone has any input on this i would be happy , still not solved =(

my question is: can i create a MDB that listens to a external sonicMq q without 
 replace JBossMQ with SonicMQ ?

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938597#3938597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938597


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - MDB listening on sonicMQ

2006-04-04 Thread Dust_Puppy
Hi
I am trying to create a EJB3 MDB to listen to a SonicMQ queue but I am bit 
confused =/ 
Do I need to integrate sonicMQ as described in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithSonicMQ

Or should the standard JbossMQ be able to do this?

When I tried to follow the integration it referred to jars: sonic_Client.jar, 
sonic_ASPI.jar, sonic_Crypto.jar and sonic_XA.jar which I can not find on their 
site.. and which I did not get from the "service" to which I am trying to 
connect..

Many thanks

/Anders














View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934607#3934607

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934607


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: using a webservice in jboss-4.0.4rc1

2006-03-22 Thread Dust_Puppy
great! the WSclientAppl aproch seems to be the simplest, il try it out =)

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931845#3931845

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931845


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - using a webservice in jboss-4.0.4rc1

2006-03-21 Thread Dust_Puppy
Hi
We are starting up a new project and we would very much like to use the new 
4.0.4 with EJB3 but we need o use external webservices from the application. Is 
there a way to do this? Or do we have to use 4.0.3 ?

Thanks!
/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931516#3931516

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931516


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB 3.0 stable enough for production ?

2006-03-20 Thread Dust_Puppy
Hi thanks for the response!
Well we need to use a WSDL 1.1 service, it would be favorable to do it from a 
session bean (because it would be good to do it in a transaction), but it 
probably could be done outside one also.. is there a good way to do that ?

/Anders

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931278#3931278

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931278


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB 3.0 stable enough for production ?

2006-03-17 Thread Dust_Puppy
Hi
We are just starting a small J2EE project with Jboss as server and I first 
thought we should go for the jboss-4.0.3SP1 release and use hibernate 3.0.5 
since this is the latest stable version. But it would be a shame to use EJB 2.1 
session beans and hibernate if the jboss-4.0.4rc1 is stable enough so we can 
use EJB 3.0 instead. I would guess that the project will go live in 2-3 month..

It is going to use some webservices otherwise just jsp, struts and mysql.
What is your opinion of this ? is it a good idea ? 

many thanks!

/Anders


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930894#3930894

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930894


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user