Under what circumstances does a CXF server read the WSDL file?
Hi there, I was playing around with some JAXWS services in CXF, and am wondering under what circumstances does a service actually go and read the WSDL file. In the SOAP/HTTP case it doesn't have to read from the WSDL file - all the information should be implicit from the annotations in the WSDL code so there's no need to read from the WSDL at all. However, if the JMS transport is being used then the WSDL file has to be read, because the service endpoint information is only found in the WSDL. I note that in the jms_queue demo the service explicitly uses the wsdlLocation attribute to point to the WSDL file. So, is the rule go to the WSDL only when you need to?, or, is the rule go to the WSDL only if the wsdlLocation has been specified in an annotation? Thanks, Ade. IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Is there any way to customise schema namespaces with java2wsdl?
Hi all, I'm creating some WSDL from classes in an existing Jar file; CXF's java2wsdl is putting everything into the same schema namespace which is causing collisions. Is there any way to customise the namespace on a per-package basis so that I can avoid the collisions? Thanks, Ade. Adrian Trenaman Principal Consultant, IONA Technologies. E: [EMAIL PROTECTED] P: +353-1-6372659 M: +353-86-6051026 IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
FW: Tools Error : Can not found wsdl plugin jms-javax.wsdl.Port for wsdl extension point interface javax.wsdl.Port
Hi there, Has anyone seen the following error with wsdl2service? Am trying to generate a JMS service but it's not working... I get the same kind of error (Tools Error: Can not found wsdl plugin...) when I try and run the wsdl2xml tool... C:\celtix_exercises\invoicing-student\wsdl\playwsdl2service -transport jms -e InvoicingService -p blah -n InvoicingSOAPBinding InvoicingService.wsdl Tools Error : Can not found wsdl plugin jms-javax.wsdl.Port for wsdl extension point interface javax.wsdl.Port Am using JDK 1.5.09... Any help would be greatly appreciated! Thanks, Ade IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Tools Error : Can not found wsdl plugin jms-javax.wsdl.Port for wsdl extension point interface javax.wsdl.Port
Hi there, Has anyone seen the following error with wsdl2service? Am trying to generate a JMS service but it's not working... I get the same kind of error (Tools Error: Can not found wsdl plugin...) when I try and run the wsdl2xml tool... C:\celtix_exercises\invoicing-student\wsdl\playwsdl2service -transport jms -e InvoicingService -p blah -n InvoicingSOAPBinding InvoicingService.wsdl Tools Error : Can not found wsdl plugin jms-javax.wsdl.Port for wsdl extension point interface javax.wsdl.Port Am using JDK 1.5.09... Any help would be greatly appreciated! Thanks, Ade Adrian Trenaman Principal Consultant, IONA Technologies. E: [EMAIL PROTECTED] P: +353-1-6372659 M: +353-86-6051026 IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Using CXF with QPid
Hi there, Does anyone have any experience putting Qpid under CXF? I'd like to configure a JMS transport so that it uses Qpid (and this AMQP) instead of ActiveMQ. Here's what I've guessed so far - any help is greatly appreciated. At the moment, my server wont start because of the jndiConnectionFactoryName - I'm not sure what this should be set to. Have tried ConnectionFactory (as per ActiveMQ) but it doesn't work :-( wsdl:port name=SOAPOverAMQPEndpoint binding=tns:UBL-InvoiceProcessorSOAP jms:address destinationStyle=queue initialContextFactory=org.apache.qpid.jndi.PropertiesFileInitialContext Factory jndiDestinationName=demo-ubl jndiConnectionFactoryName= messageType=text useMessageIDAsCorrelationID=true jms:JMSNamingProperty name=java.naming.factory.initial value=org.apache.qpid.jndi.PropertiesFileInitialContextFactory / jms:JMSNamingProperty name=java.naming.provider.url value=amqp:///test?brokerlist='localhost'/ /jms:address /wsdl:port Thanks, Ade. Adrian Trenaman Principal Consultant, IONA Technologies. E: [EMAIL PROTECTED] P: +353-1-6372659 M: +353-86-6051026
Why have two implementations of org.apache.cxf.Bus?
Hi all, Am trying to figure out the semantics of the default bus in CXF; I can see that BusFactory returns a Bus interface, and so far I've found two implementations of this interface: * org.apache.cxf.bus.cxf.CXFBusImpl; and, * org.apache.cxf.bus.spring.SpringBusImpl. When I call defaultBus() in a standalone service I get an instance of SpringBusImpl. Under what circumstances would I get a CXFBusImpl returned? Should we ever refer to SpringBusImpl directly in code (for example, using explicit constructors from the SpringBusImpl class)? Does this create a dependency later on, forcing me to deploy in the spring container? Any help greatly appreciated! Cheers, Ade. Adrian Trenaman Principal Consultant, IONA Technologies. E: [EMAIL PROTECTED] P: +353-1-6372659 M: +353-86-6051026