hi, i am following the wiki page about JAXR configuration.
i set up the system properties here.
| System.setProperty("javax.xml.registry.ConnectionFactoryClass",
"org.apache.ws.scout.registry.ConnectionFactoryImpl");
| System.setProperty("jaxr.query.url",
"http://uddi.xmethods.net/inquire");
| System.setProperty("jaxr.publish.url",
"https://uddi.xmethods.net/publish");
| System.setProperty("juddi.proxy.transportClass",
"org.jboss.jaxr.juddi.transport.SaajTransport");
|
it works fine. i can obtain Connection connection, BusinessQueryManager bqm,
BusinessLifeCycleManager blcm successfully.
but when i came to this code.
| BulkResponse response = bqm.findOrganizations(findQualifiers,
| namePatterns,
| null,
| null,
| null,
| null);
|
Exception comes out.
but i would not be so confused if the exception were not about the
org.apache.axis.soap.MessageFactoryImpl. I have known that JBoss is not using
Axis anymore.
and what is more, i have nothing about Axis in my PC.
i have included ws4ee-axis.jar in my Eclipse IDE build path.
and org.jboss.axis.soap.MessageFactoryImpl is right there.
it seems that SaajTransport is sending the right message.
but why comes such an exception about org.apache.axis?
| [main] DEBUG org.jboss.jaxr.juddi.transport.SaajTransport - Request
message:<?xml version="1.0" encoding="UTF-8"?>
| <find_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><findQualifiers><findQualifier>sortByNameAsc</findQualifier></findQualifiers><name>%business%</name></find_business>
|
| javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
Provider org.apache.axis.soap.MessageFactoryImpl not found
| 1734 [main] ERROR org.jboss.jaxr.juddi.transport.SaajTransport -
javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
Provider org.apache.axis.soap.MessageFactoryImpl not found
| at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
| at
org.jboss.jaxr.juddi.transport.SaajTransport.send(SaajTransport.java:64)
| at org.apache.juddi.proxy.RegistryProxy.execute(RegistryProxy.java:368)
| at
org.apache.juddi.AbstractRegistry.findBusiness(AbstractRegistry.java:243)
| at
org.apache.ws.scout.registry.BusinessQueryManagerImpl.findOrganizations(BusinessQueryManagerImpl.java:113)
| at TestJAXR.testJAXR1(TestJAXR.java:170)
| at TestJAXR.main(TestJAXR.java:40)
|
any help will be much appriciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927040#3927040
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927040
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user