[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-22 Thread claudio_br
Sorry, sorry, sorry ... I found the problem. I looked the request and response (previous post) again and I saw: Generated Thu, 17 Apr 2008 17:02:56 GMT by fw0-sp.buscape-local.com.br (squid/2.6.STABLE16) The Squid in my local network blocked the access. I tested in another machine out of my loc

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-22 Thread claudio_br
Hi Richard, The problem with 501 persist. I created a test client to simulate my problem and sended to your email. Please, can you run my test client? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145889#4145889 Reply to the post : http://www.jbos

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-18 Thread claudio_br
Hi Richard Your last response is correct! You got error 500 because user and password are fake. I can not send my user and password of the system. The original message is: Autenticao n..o autorizada, por favor, entre em contato com a MapLink. The message translated is: Authentication unaut

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-18 Thread claudio_br
Hi Richard, I asked you to try with the release jbossws-2.0.0.GA to prove that .net webservice is functioning normally and that the problem is in release jbossws-3.0.1-native-2.0.4, because the release jbossws-2.0.0.GA works. The .net webservice return always http code 200 to correct request. Yo

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-18 Thread claudio_br
Could you do the test? This problem with the release jbossws-3.0.1-native-2.0.4 doesn´t allow I update from release jboss-2.0.0.GA. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145146#4145146 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-17 Thread claudio_br
Hi Richard, I am ready using -Dfile.encoding=utf-8. In your test code you must to use: os.write(msg.getBytes("UTF-8")) | You are using: os.write(msg.getBytes()) Please, try using jbossws 2.0.0.GA to same wsdl, should work. Try use POST of jbossws 2.0.0.GA in your test code. Thanks View

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-17 Thread claudio_br
Completing the my last post, I am using a Windows machine and you a Unix machine. The default file-encoding are different. Because of this you can got error 500. Please read my last post too. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144854#414485

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-17 Thread claudio_br
Very stranger Richard, I got here error 501. But, try generate the stub client using jbossws-2.0.0.GA, should work. Try send the POST with the version of jbossws-2.0.0.GA. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144850#4144850 Reply to the post

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
I executed my code with jbossws-2.0.0.GA and Jbossws-3.0.1-native-2.0.4.GA. The POST with jbossws-2.0.0.GA (successful) | POST /webservices/v3/Authentication/Authentication.asmx?datatype=JBossWSMessage HTTP/1.1 | | SOAPAction: "http://webservices.maplink2.com.br/getToken"; | | Cont

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
With wireshark I got: GET /webservices/v3/Authentication/Authentication.asmx?WSDL HTTP/1.1 | | User-Agent: Java/1.5.0_06 | | Host: webservices.maplink2.com.br | | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | | Connection: keep-alive | | Content-type: appl

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
I added the log4j with DEBUG level: 16/04/2008 13:21:03 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - START buildMetaData: [service={http://webservices.maplink2.com.br}Authentication] | 16/04/2008 13:21:03 org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory - parse: http://w

[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-16 Thread claudio_br
How can I do this? Please, show me a sample code. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144518#4144518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144518 __

[jboss-user] [JBossWS] - Problem consuming .net webservice with jbossws-3.0.1-native-

2008-04-16 Thread claudio_br
Hi, I created the stubs classes of .net webservice using ant task: org.jboss.wsf.spi.tools.ant.WSConsumeTask But when I invoke the .net webservice I got: javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message | Exception in thread "main" javax.xml.ws.WebServiceExce

[jboss-user] [JBossWS] - Using child class as argument in webmethod

2008-01-18 Thread claudio_br
Hi, In server side, I have 3 class (the Fone class with 2 childs: CellFone and HomeFone class) public class Fone | public class CellFone extends Fone | public class HomeFone extends Fone I have this Webmethod: boolean addFone(Fone f). My problem is: The classes CellFone and HomeFone does

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Two Entity has @OneToMany to the same Entity

2007-12-12 Thread claudio_br
You can resolve this with: @Entity | public class A implements Serializable{ | | @Id | @GeneratedValue(strategy = GenerationType.IDENTITY) | @Column(name="id_a") | private int id; | | @OneToMany(mappedBy="a", fetch = FetchType.EAGER) | @Cascade(CascadeType.ALL) |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Two Entity has @OneToMany to the same Entity

2007-11-29 Thread claudio_br
How can I do two Entity has @OneToMany to the same Entity? For example the Entity A has @OneToMany to Entity C and Entity B has @OneToMany to Entity C too. The Hibernate adds in the Entity C the id of Entity A or Entity B, but in the search the Hibernate doesn´t know of which Entity the id refer

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: When JbossAs will update Hibernate?

2007-11-27 Thread claudio_br
Can release in version 4.2.x or only in version 5.0.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108113#4108113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108113 ___

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - When JbossAs will update Hibernate?

2007-11-27 Thread claudio_br
When JbossAs will update the Hibernate? The JbossAS 4.2.2.GA is using this version: Hibernate 3.2.4.sp1 | Hibernate EntityManager 3.2.1.GA | Hibernate Annotations 3.2.1.GA But there is: Hibernate 3.2.5 | Hibernate EntityManager 3.3.0.GA | Hibernate Annotations 3.3.0.GA | Hibernate Val

[jboss-user] [JBossWS] - Re: Problem with charset UTF-8 in version 1.2.1GA

2007-08-17 Thread claudio_br
This problem was resolved in version JBossWS 2.0.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075360#4075360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075360 ___ j

[jboss-user] [JBossWS] - Re: consume WS error after update to JBossWS 2.0

2007-07-13 Thread claudio_br
Hi gryffin, I can add the jar xercesImpl.jar localized in (JBOSS_HOME/lib/endorsed) in client´s classpath. It should resolve your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063985#4063985 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [JBossWS] - Re: consume WS error after update to JBossWS 2.0

2007-07-12 Thread claudio_br
Hi M.Schumpa, I have had a similar problem. I have gotten this problem with a standalone client that consume a WS. I have resolved this problem removing the files: jaxws-rt.jar and jaxws-tools.jar of client´s classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [JBossWS] - Problem with charset UTF-8 in version 1.2.1GA

2007-06-12 Thread claudio_br
Hi, I am using wsconsume to generate webservice client class in windows machine. When I access the webservice and send a String with character 'ã' or 'ç' for example, I got a soap exception. In post http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030510#4030510 was relate same problem