[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Web Services] - Trying to resolve systemId as a non-file URL JBoss 5.1
From:       getstarted <do-not-reply () jboss ! com>
Date:       2012-06-29 19:01:32
Message-ID: 2-745125-3-104398-1340996488330.jivesbs.jivemailuser () https://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


getstarted [https://community.jboss.org/people/getstarted] created the discussion

"Trying to resolve systemId as a non-file URL JBoss 5.1"

To view the discussion, visit: https://community.jboss.org/message/745125#745125

--------------------------------------------------------------
08:30:55,530 INFO   [ServerCache] **LOCAL** Class loaders url's synched up
08:30:56,273 WARN   [JBossEntityResolver] Trying to resolve systemId as a non-file \
URL:  http://host:port/client-ws/services/ \
http://host:port/client-ws/services/{port}?xsd=1 08:30:57,856 WARN   \
[JBossEntityResolver] Trying to resolve systemId as a non-file URL:  \
http://host:port/client-ws/services/ \
http://host:port/client-ws/services/{port}?xsd=24 08:31:04,614 INFO   [ServerImpl] \
Runtime shutdown hook called, forceHalt: true 08:31:04,968 WARN   \
[JBossEntityResolver] Trying to resolve systemId as a non-file URL:  \
http://host:port/client-ws/services/ \
http://host:port/client-ws/services/{port}?xsd=25 08:31:05,327 WARN   \
[JBossEntityResolver] Trying to resolve systemId as a non-file URL:  \
http://host:port/client-ws/services/ http://host:port/client-ws/services/{port}?xsd=2 \
08:31:05,456 WARN   [JBossEntityResolver] Trying to resolve systemId as a non-file \
URL:  http://host:port/client-ws/services/ \
http://host:port/client-ws/services/{port}?xsd=3

Hello, I wrote a Web service client for our vendor's web service.   It is working \
fine with Soap UI and stand-alone Java application.   But after i deployed to JBoss, \
I am having the above error.   I am getting this while instatiating the service.   \
After having several of the above messages, I am getting the "Cannot load Java type \
error.   Again the same code work fine as a stand-alone program from Main method.


I am using JBoss 5.1, JDK 1.6, JAX-WS, IntelliJ IDEA as an IDE.   

Should i download all xsd's and wsdl to my local drive and refer from there?   If I \
am deploying to JBoss, how do I packages these xsds inside the jar file, and how to \
refer them?   I have the code similar to this

Generated code by JAX-ws:

super(WSDL_LOCATION, new QName(" http:// http://{URL}", "{operation}"));   //error is \
                getting here
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/745125#745125]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]



[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; \
margin: 0; padding: 20px;">

<div>
	<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: \
1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tbody>
			<tr>

				<td>

					<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" \
style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: \
6px; -webkit-border-radius: 6px;">  <tbody>
							<tr>
								<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px \
solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; \
-moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; \
                -webkit-border-top-left-radius: 5px;">
									<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; \
                margin: 0; display: block !important;">
									<!-- To have a header image/logo replace the name below with your img tag \
                -->
									<!-- Email clients will render the images when the message is read so any \
                image -->
									<!-- must be made available on a public server, so that all recipients can \
                load the image. -->
									<a href="https://community.jboss.org/index.jspa" style="text-decoration: \
none; color: #E1E1E1">JBoss Community</a></h1>  </td>

							</tr>
							<tr>
								<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; \
color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; \
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; \
-webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: \
17px; font-weight: normal;">  Trying to resolve systemId as a non-file URL JBoss 5.1
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/getstarted">getstarted</a> \
in <i>JBoss Web Services</i> - <a \
href="https://community.jboss.org/message/745125#745125">View the full discussion</a> \
</span> <hr style="margin: 20px 0; border: none; background-color: #dadada; height: \
1px;">

<div class="jive-rendered-content"><p>08:30:55,530 INFO&#160; [ServerCache] **LOCAL** \
Class loaders url's synched up</p><p><span>08:30:56,273 WARN&#160; \
[JBossEntityResolver] Trying to resolve systemId as a non-file URL: </span><a \
class="jive-link-external-small" href="http://host:port/client-ws/services/" \
target="_blank">http://host:port/client-ws/services/</a><span>{port}?xsd=1</span></p><p><span>08:30:57,856 \
WARN&#160; [JBossEntityResolver] Trying to resolve systemId as a non-file URL: \
</span><a class="jive-link-external-small" \
href="http://host:port/client-ws/services/" \
target="_blank">http://host:port/client-ws/services/</a><span>{port}?xsd=24</span></p><p>08:31:04,614 \
INFO&#160; [ServerImpl] Runtime shutdown hook called, forceHalt: \
true</p><p><span>08:31:04,968 WARN&#160; [JBossEntityResolver] Trying to resolve \
systemId as a non-file URL: </span><a class="jive-link-external-small" \
href="http://host:port/client-ws/services/" \
target="_blank">http://host:port/client-ws/services/</a><span>{port}?xsd=25</span></p><p><span>08:31:05,327 \
WARN&#160; [JBossEntityResolver] Trying to resolve systemId as a non-file URL: \
</span><a class="jive-link-external-small" \
href="http://host:port/client-ws/services/" \
target="_blank">http://host:port/client-ws/services/</a><span>{port}?xsd=2</span></p><p><span>08:31:05,456 \
WARN&#160; [JBossEntityResolver] Trying to resolve systemId as a non-file URL: \
</span><a class="jive-link-external-small" \
href="http://host:port/client-ws/services/" \
target="_blank">http://host:port/client-ws/services/</a><span>{port}?xsd=3</span></p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Hello, I wrote a Web \
service client for our vendor's web service.&#160; It is working fine with Soap UI \
and stand-alone Java application.&#160; But after i deployed to JBoss, I am having \
the above error.&#160; I am getting this while instatiating the service.&#160; After \
having several of the above messages, I am getting the "Cannot load Java type \
error.&#160; Again the same code work fine as a stand-alone program from Main \
method.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am using JBoss \
5.1, JDK 1.6, JAX-WS, IntelliJ IDEA as an IDE.&#160; </p><p style="min-height: 8pt; \
height: 8pt; padding: 0px;">&#160;</p><p>Should i download all xsd's and wsdl to my \
local drive and refer from there?&#160; If I am deploying to JBoss, how do I packages \
these xsds inside the jar file, and how to refer them?&#160; I have the code similar \
to this</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p>Generated code by JAX-ws:</p><p style="min-height: 8pt; height: \
8pt; padding: 0px;">&#160;</p><p><span>super(WSDL_LOCATION, new QName("</span><a \
class="jive-link-external-small" href="http://" \
target="_blank">http://</a><span>{URL}", "{operation}"));&#160; //error is getting \
here</span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a \
href="https://community.jboss.org/message/745125#745125">going to Community</a></p>  \
<p style="margin: 0;">Start a new discussion in JBoss Web Services at <a \
href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
 </div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic