[JBossWS] - Rpc client
by tremalnaik
Hello,
I've configured a jax-rpc style service in jboss version 4.0.2, which looks to work fine, if I access it using SOAPUI. The request get a response back from jboss. But when I try to access the server using a java client, I have the exception:
serialization error: serialization error: java.lang.IllegalStateException
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:129)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260)
| at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637)
| at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83)
| at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
| at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52)
|
| CAUSE:
|
| serialization error: java.lang.IllegalStateException
| at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.serialize(LiteralArraySerializer.java:132)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerializeInstance(LiteralObjectArraySerializer.java:353)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerialize(LiteralObjectArraySerializer.java:332)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.internalSerialize(LiteralObjectArraySerializer.java:178)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:127)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260)
| at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637)
| at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83)
| at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
| at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52)
|
| CAUSE:
|
| java.lang.IllegalStateException
| at com.sun.xml.rpc.util.xml.XmlWriter.attributeName(XmlWriter.java:418)
| at com.sun.xml.rpc.util.xml.XmlWriter.attributeUnquoted(XmlWriter.java:370)
| at com.sun.xml.rpc.streaming.XMLWriterImpl.writeAttributeUnquoted(XMLWriterImpl.java:239)
| at com.sun.xml.rpc.streaming.XMLWriterBase.writeAttributeUnquoted(XMLWriterBase.java:46)
| at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.internalSerialize(LiteralArraySerializer.java:177)
| at com.sun.xml.rpc.encoding.literal.LiteralArraySerializer.serialize(LiteralArraySerializer.java:126)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerializeInstance(LiteralObjectArraySerializer.java:353)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.doSerialize(LiteralObjectArraySerializer.java:332)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.internalSerialize(LiteralObjectArraySerializer.java:178)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectArraySerializer.serialize(LiteralObjectArraySerializer.java:127)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerializeInstance(GenericLiteralObjectSerializer.java:292)
| at com.sun.xml.rpc.encoding.literal.GenericLiteralObjectSerializer.doSerialize(GenericLiteralObjectSerializer.java:230)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:172)
| at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:107)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerializeInstance(LiteralRequestSerializer.java:337)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.doSerialize(LiteralRequestSerializer.java:408)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.internalSerialize(LiteralRequestSerializer.java:305)
| at com.sun.xml.rpc.encoding.literal.LiteralRequestSerializer.serialize(LiteralRequestSerializer.java:260)
| at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:637)
| at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83)
| at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
| at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:482)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.testServiceWithDDI(TravellerSynchronizerTest.java:94)
| at com.bitaplus.bitastar.traveller.connector.ws.TravellerSynchronizerTest.main(TravellerSynchronizerTest.java:52)
|
This is strange for it doesn't give me any indication on what the error may be. The method implementation is:
public interface TravellerSynchronizerIface extends Remote
| {
| public ClientCharacteristics synchronize(ClientCharacteristics characters)
| throws RemoteException;
| }
|
and the client trying to access it is:
ClientCharacteristics characters = new ClientCharacteristics();
| String urlstr = "https://cor319:8443/bitatraveller/TravellerSynchronizer?wsdl";
| System.out.println("Contacting webservice at " + urlstr);
| URL url = new URL(urlstr);
| String ns = "https://ws.web.bitastar.bitaplus.com/";
| QName qname = new QName(ns, "TravellerSynchronizer");
| QName port = new QName(ns, "TravellerSynchronizerIfacePort");
| QName operation = new QName(ns, "synchronize");
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(url, qname);
| Call call = service.createCall(port, operation);
| ClientCharacteristics cc = (ClientCharacteristics) call.invoke(new Object[] { characters });
|
The exception is thrown at the invoke, in the last line. I'm using Java 1.4 and jwsdp 1.4. I downloaded the jbossws samples and inspecting the code I see an instruction like
| Service service = factory.createService(wsdlURL, qname, mappingURL);
|
but my factory implementation doesn't have such a method. Did I set up the call wrongly? Please help me.
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018770#4018770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018770
18 years
[JBossWS] - Re: Help: how to consume webservice in ejb3 ?
by michea
"thomas.diesler(a)jboss.com" wrote : @WebServiceRef is supported in jbossws-1.2.0
Doesn't work better with the annotation.
Here is the ejb
|
| @Stateless()
| @WebService()
| public class jbossWebService {
| @WebServiceRef()
| org.manaty.mvno.webservice.SimuCRMBeanService simuCRMBeanService;
|
| @WebMethod
| public String identProxy(@WebParam(name = "login") String login, @WebParam(name = "password") String password) {
| String result="pb";
| org.manaty.mvno.webservice.SimuCRMBeanLocal _simuCRMBeanPort = simuCRMBeanService.getSimuCRMBeanPort();
| result = _simuCRMBeanPort.identification(login,password);
| return result;
| }
|
the webservice called works perfectly well, it is another EJB endpoint on the same server.
I successfully used wscompile ant task to generate the artifacts
| <wsconsume fork="true" verbose="true" destdir="build/jar" sourcedestdir="src/java"
| keep="true" debug="true" package="org.manaty.mvno.webservice" wsdl="http://127.0.0.1:8080/simuCRMBilling/simuCRMBean?wsdl" >
| </wsconsume>
|
and the wsdl is quite simple
| ?
| <definitions name="simuCRMBeanService" targetNamespace="http://simu.mvno.manaty.org/">
| ?
| <types>
| ?
| <xs:schema targetNamespace="http://simu.mvno.manaty.org/" version="1.0">
| <xs:element name="changePassword" type="tns:changePassword"/>
| <xs:element name="changePasswordResponse" type="tns:changePasswordResponse"/>
| <xs:element name="customerInfo" type="tns:customerInfo"/>
| <xs:element name="customerInfoResponse" type="tns:customerInfoResponse"/>
| <xs:element name="identification" type="tns:identification"/>
| <xs:element name="identificationResponse" type="tns:identificationResponse"/>
| <xs:element name="orderList" type="tns:orderList"/>
| <xs:element name="orderListResponse" type="tns:orderListResponse"/>
| <xs:element name="subscriptionInfo" type="tns:subscriptionInfo"/>
| <xs:element name="subscriptionInfoResponse" type="tns:subscriptionInfoResponse"/>
| <xs:element name="subscriptionList" type="tns:subscriptionList"/>
| <xs:element name="subscriptionListResponse" type="tns:subscriptionListResponse"/>
| ?
| <xs:complexType name="subscriptionList">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="subscriptionListResponse">
| ?
| <xs:sequence>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="subscriptions" type="tns:subscriptionListObject"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="subscriptionListObject">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="offer" type="xs:string"/>
| <xs:element minOccurs="0" name="subScriptionNumber" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="identification">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| <xs:element minOccurs="0" name="password" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="identificationResponse">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="return" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="customerInfo">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="customerInfoResponse">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="return" type="tns:customerInfoObject"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="customerInfoObject">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="address1" type="xs:string"/>
| <xs:element minOccurs="0" name="address2" type="xs:string"/>
| <xs:element minOccurs="0" name="address3" type="xs:string"/>
| <xs:element minOccurs="0" name="address4" type="xs:string"/>
| <xs:element minOccurs="0" name="city" type="xs:string"/>
| <xs:element minOccurs="0" name="customerNumber" type="xs:string"/>
| <xs:element minOccurs="0" name="firstname" type="xs:string"/>
| <xs:element minOccurs="0" name="lastname" type="xs:string"/>
| <xs:element minOccurs="0" name="postalCode" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="subscriptionInfo">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| <xs:element minOccurs="0" name="subscriptionNumber" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="subscriptionInfoResponse">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="return" type="tns:subscriptionInfoObject"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="subscriptionInfoObject">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="contractDuration" type="xs:string"/>
| <xs:element minOccurs="0" name="offerType" type="xs:string"/>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="options" nillable="true" type="tns:option"/>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="plans" nillable="true" type="tns:plan"/>
| <xs:element minOccurs="0" name="price" type="xs:string"/>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="services" nillable="true" type="tns:service"/>
| <xs:element minOccurs="0" name="totalMonthlyPrice" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="option">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="description" type="xs:string"/>
| <xs:element minOccurs="0" name="monthlyPrice" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="plan">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="description" type="xs:string"/>
| <xs:element minOccurs="0" name="monthlyPrice" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="service">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="description" type="xs:string"/>
| <xs:element minOccurs="0" name="monthlyPrice" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="orderList">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="orderListResponse">
| ?
| <xs:sequence>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:orderObject"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="orderObject">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="date" type="xs:string"/>
| <xs:element minOccurs="0" name="orderDate" type="xs:string"/>
| <xs:element minOccurs="0" name="orderNumber" type="xs:string"/>
| <xs:element minOccurs="0" name="status" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="changePassword">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="login" type="xs:string"/>
| <xs:element minOccurs="0" name="oldPassword" type="xs:string"/>
| <xs:element minOccurs="0" name="newPassword" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| ?
| <xs:complexType name="changePasswordResponse">
| ?
| <xs:sequence>
| <xs:element minOccurs="0" name="return" type="xs:string"/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| ?
| <message name="SimuCRMBeanLocal_identificationResponse">
| <part element="tns:identificationResponse" name="identificationResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_customerInfoResponse">
| <part element="tns:customerInfoResponse" name="customerInfoResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_subscriptionInfoResponse">
| <part element="tns:subscriptionInfoResponse" name="subscriptionInfoResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_subscriptionList">
| <part element="tns:subscriptionList" name="subscriptionList"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_changePasswordResponse">
| <part element="tns:changePasswordResponse" name="changePasswordResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_changePassword">
| <part element="tns:changePassword" name="changePassword"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_subscriptionListResponse">
| <part element="tns:subscriptionListResponse" name="subscriptionListResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_identification">
| <part element="tns:identification" name="identification"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_orderListResponse">
| <part element="tns:orderListResponse" name="orderListResponse"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_orderList">
| <part element="tns:orderList" name="orderList"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_customerInfo">
| <part element="tns:customerInfo" name="customerInfo"/>
| </message>
| ?
| <message name="SimuCRMBeanLocal_subscriptionInfo">
| <part element="tns:subscriptionInfo" name="subscriptionInfo"/>
| </message>
| ?
| <portType name="SimuCRMBeanLocal">
| ?
| <operation name="changePassword" parameterOrder="changePassword">
| <input message="tns:SimuCRMBeanLocal_changePassword"/>
| <output message="tns:SimuCRMBeanLocal_changePasswordResponse"/>
| </operation>
| ?
| <operation name="customerInfo" parameterOrder="customerInfo">
| <input message="tns:SimuCRMBeanLocal_customerInfo"/>
| <output message="tns:SimuCRMBeanLocal_customerInfoResponse"/>
| </operation>
| ?
| <operation name="identification" parameterOrder="identification">
| <input message="tns:SimuCRMBeanLocal_identification"/>
| <output message="tns:SimuCRMBeanLocal_identificationResponse"/>
| </operation>
| ?
| <operation name="orderList" parameterOrder="orderList">
| <input message="tns:SimuCRMBeanLocal_orderList"/>
| <output message="tns:SimuCRMBeanLocal_orderListResponse"/>
| </operation>
| ?
| <operation name="subscriptionInfo" parameterOrder="subscriptionInfo">
| <input message="tns:SimuCRMBeanLocal_subscriptionInfo"/>
| <output message="tns:SimuCRMBeanLocal_subscriptionInfoResponse"/>
| </operation>
| ?
| <operation name="subscriptionList" parameterOrder="subscriptionList">
| <input message="tns:SimuCRMBeanLocal_subscriptionList"/>
| <output message="tns:SimuCRMBeanLocal_subscriptionListResponse"/>
| </operation>
| </portType>
| ?
| <binding name="SimuCRMBeanLocalBinding" type="tns:SimuCRMBeanLocal">
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
| ?
| <operation name="changePassword">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| ?
| <operation name="customerInfo">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| ?
| <operation name="identification">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| ?
| <operation name="orderList">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| ?
| <operation name="subscriptionInfo">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| ?
| <operation name="subscriptionList">
| <soap:operation soapAction=""/>
| ?
| <input>
| <soap:body use="literal"/>
| </input>
| ?
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| </binding>
| ?
| <service name="simuCRMBeanService">
| ?
| <port binding="tns:SimuCRMBeanLocalBinding" name="simuCRMBeanPort">
| <soap:address location="http://DIVIOSOFT:8080/simuCRMBilling/simuCRMBean"/>
| </port>
| </service>
| </definitions>
|
As for JAXRPC this is not possible to use it as for other WS in the same application I have a complex binding that require jaxb2.
I would be grateful of any hint or example
Sebastien
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018641#4018641
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018641
18 years
[JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file.
by rlamie
Thomas,
After checking out a fresh copy of the 1.2.0 branch, I tried to run the release target.
Several points :
1/ Ant.properties
# Optional JBoss Home
#jboss50.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta2
#jboss42.home=/home/tdiesler/svn/jbossas/branches/Branch_4_2/build/output/jboss-4.2.0.CR1-ejb3
#jboss40.home=/home/tdiesler/svn/jbossas/branches/Branch_4_0/build/output/jboss-4.0.5.SP1-ejb3
Actually not very optional, you have to define each jbossX.home, no way to define only 1 integration point.
2/ build-setup.xml
Obviously links to jbossX.thirdparty are rather personal :-)
After that, it's ok.
Just another big point, when i try , i got the following error :
Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl
I searched the implementation class and found nothing in the source... missed something ?
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018104#4018104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018104
18 years, 1 month
[JBossWS] - Re: Generate wsdl from JSR 181 POJO
by monowai
Indeed. Still it's nice to know what's going on behind the scenes, and a good UI is not really a substitute for clear doco.
I'm an Intellij user and with these IDE's being the memory hogs they are, running eclipse simply to maintain a few XML files is a bit of a pain; Soap's IntelliJ support is pretty basic, so I'll continue with the full UI I guess.
On the side, having just checked out the source for SOAPUI - and most of the jboss projects - it really feels like stepping back in time using ANT over Maven; All that configuration in your IDE, it's Like going from an automatic car to a manual. Geeze I've lost track of how many commons-collections and jaxb jars I've got lying around for all these o/s projects. Maven's on demand centralized repository structure is pure magic.
Oh well. The fun continues.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017882#4017882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017882
18 years, 1 month