-
1. Re: SWA-Ref schema location unavailable
ropalka Jan 21, 2009 3:36 AM (in response to sebastiendeg)This have been fixed. You need to upgrade to JBossWS 3.0.5
-
2. Re: SWA-Ref schema location unavailable
erickjd Apr 16, 2010 2:39 PM (in response to ropalka)Opalka, i'm using JBossWS-native-3.1.1.GA with JBossAS 4.2.3 and i have the same swaRef error when i intend to use wsconsume to generate my client classes following this example: http://community.jboss.org/wiki/JBossWS-Securityandattachmentssample . It seems to be not fixed yet.
could you help me with this.
thanks
-
3. Re: SWA-Ref schema location unavailable
ropalka Apr 19, 2010 2:44 AM (in response to erickjd)Delete schemaLocation="http://ws-i.org/profiles/basic/1.1/swaref.xsd" from import element. This should help.
-
4. Re: SWA-Ref schema location unavailable
erickjd Apr 19, 2010 10:13 AM (in response to ropalka)Thanks for your answer Opalka. What you told me didn't works. Then i tested to move swaref.xsd file to jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\ROOT.war location and to rewrite the generated wsdl: change http://ws-i.org/profiles/basic/1.1/swaref.xsd to http://localhost:8080/swaref.xsd . and it works!!!. I don't know if this is the write solution , (i 've to update the wsdl file everytime i redeploy my app)...
thanks
-
5. Re: SWA-Ref schema location unavailable
erickjd Apr 19, 2010 3:41 PM (in response to erickjd)Ok, i get another error runnning the example http://community.jboss.org/wiki/JBossWS-Securityandattachmentssample, i get the following message in the client log:
Downloading newspaper document: doc01
Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/mimepull/MIMEMessage
at com.sun.xml.ws.encoding.MimeMultipartParser.<init>(MimeMultipartParser.java:88)
at com.sun.xml.ws.encoding.MimeCodec.decode(MimeCodec.java:180)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:279)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:171)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.client.Stub.process(Stub.java:248)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at $Proxy27.getNewspaperEdition(Unknown Source)
at org.jboss.test.ws.jaxws.samples.news.generated.printer.Printer.run(Printer.java:47)
at org.jboss.test.ws.jaxws.samples.news.generated.printer.Printer.main(Printer.java:66)what would be the reasons, i followed every steps, and run it as a java aplication using Eclipse IDE .
please help me with this..
thanks
PD: adjunt is the capture of the exchanged messages (it seems to be ok)
-
tcpmon.zip 1.1 KB
-
-
6. Re: SWA-Ref schema location unavailable
erickjd Apr 19, 2010 5:07 PM (in response to erickjd)I found a solution, downloaded this jar, http://mirrors.ibiblio.org/pub/mirrors/maven2/org/jvnet/mimepull/1.3/mimepull-1.3.jar
and added it to project classpath and problem resolved.