[JBossWS] - Re: jbossws-2.0.1 released
by abdujaparov
Hi, I've downloaded jbossws-2.0.1 and I've tryed to install it on jboss4.2.1, but I have problems.
The installation guide say that I must copy ant.properties.examples to ant.properties but in the root of jbossws there's not a file named ant.properties.examples, these are the file I have in jboss root directory:
| 17/08/2007 18.58 <DIR> .
| 17/08/2007 18.58 <DIR> ..
| 11/10/2007 15.51 866 ant.properties
| 17/08/2007 18.58 <DIR> bin
| 17/08/2007 18.58 <DIR> build
| 17/08/2007 18.58 2.768 build.bat
| 17/08/2007 18.58 3.689 build.sh
| 17/08/2007 18.58 7.237 build.xml
| 17/08/2007 18.58 <DIR> docs
| 17/08/2007 18.58 <DIR> lib
| 17/08/2007 18.58 <DIR> tests
| 17/08/2007 18.58 <DIR> tools
| 17/08/2007 18.58 1.719 version.properties
|
I've only set the patch of jboss4.2.1 in the ant.properties file, then I've executed: ant deploy-jboss42 but this is the result:
|
| C:\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| BUILD FAILED
| C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62: The following error occurr
| ed while executing this line:
| C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:385: Directory does no
| t exist:C:\jbossws-native-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 0 seconds
How can I deploy jbossws2.0.1 on jboss4.2.1?
Thanks everybody, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094111#4094111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094111
18 years, 1 month
[JBossWS] - Web service call or javax.xml.bind.JAXBException
by rukus
When i'm calling web service there is
anonymous wrote : 17:09:29,562 ERROR [RequestHandlerImpl] Error processing web service request
| org.jboss.ws.WSException: javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException
| - with linked exception:
| [javax.xml.bind.JAXBException: class com.mtsys.services.ResourceID nor any of its super class is known to this context.]
| at org.jboss.ws.WSException.rethrow(WSException.java:68)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:619)
|
ResourceID class:
| package test;
|
| import javax.xml.bind.annotation.XmlAccessorType;
| import javax.xml.bind.annotation.XmlAccessType;
| import javax.xml.bind.annotation.XmlType;
| import javax.xml.bind.annotation.XmlElement;
|
| @XmlAccessorType(XmlAccessType.FIELD)
| @XmlType(name = "ResourceID")
| public class ResourceID {
| @XmlElement(nillable = true)
| private ULongLong container;
| @XmlElement(nillable = true)
| private ULongLong fragment;
|
| public ResourceID(ULongLong container, ULongLong fragment) {
| this.container = container;
| this.fragment = fragment;
| }
|
| public ULongLong getContainer() {
| return container;
| }
|
| public void setContainer(ULongLong container) {
| this.container = container;
| }
|
| public ULongLong getFragment() {
| return fragment;
| }
|
| public void setFragment(ULongLong fragment) {
| this.fragment = fragment;
| }
| }
|
Is there any suggestions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094106#4094106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094106
18 years, 1 month
[JBossWS] - Troble Connecting a client to web service
by SameerGijare
Hi
I have a web service deployed in jboss-4.0.5GA and I am using JbossWS 1.0.4.I have a WSDL file from corresonding weblogic Deployment.The same WSDL I have used for Jboss also.But when I call the web service using the ready weblogic client it is giving me following Exception
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither fromValue(java.lang.String p) nor fromValue(java.lang.String p1, javax.xml.namespace.NamespaceContext p2) were found in interface com.covad.xsd.smo.vendororder.AreaCode
at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtUtil.invokeUnmarshalMethod(RtUtil.java:350)
at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHandler.unmarshal(RtCharactersHandler.java:104)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:872)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:160)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:295)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:174)
... 34 more
The AreaCode class it is referring is a variable is WSDL and generated from XMLBeans in Weblogic 8.1.
Can anybody please help me with this?I am using jdk1.4.2_07.
Thanks and Regards
-Sameer Gijare
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093993#4093993
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093993
18 years, 1 month