JBoss WS Temp file saved incorrectly
My problem from yesterday is say sorted. Not solved though.

The the NPE i had was triggered by a FileNotFoundException that was hidden until i switched to TRACE logging (org.jboss.util.xml.JBossEntityResolver)...

So here is the thing:
1.) I'm trying to connect to the webservice from code that is deployed to under JBoss
2.) JBossWs saves the wsdl to the **tmp** folder like this:

    file:/home/xxx/dev/XXXX/jboss-4.2.3.GA/server/yyy/
tmp/jbossws/JBossWS_www.company.xx_99_server_soap.php?wsdl=get8489235369016302536.xsd

3.) And then when it tries to read back the WSDL:

    TRACE [org.jboss.util.xml.JBossEntityResolver] Failed to obtain URL.InputStream from systemId: file:/home/xxx/dev/xxx-PAN/jboss-4.2.3.GA/server/xxxxxxx/tmp/jbossws/JBossWS_www.comany.xx_99_server_soap.php?wsdl=get8489235369016302536.xsd
    java.io.FileNotFoundException: /home/xxx/dev/xxx-PAN/jboss-4.2.3.GA/server/xxxxxxx/tmp/jbossws/JBossWS_www.comany.xx_99_server_soap.php

Obviusly it truncates and then not able to read back...

I guess i would be able to configurate somehow the pattern how it writes it to disk or how it reads it back but i did find the solution (even not from the code of the JBoss class i mentioned). Any ideas would be appreciated.

Many thanks,
Dave

JBoss WS Temp file saved incorrectly
===

My problem from yesterday is say sorted. Not solved though.

The the NPE i had was triggered by a FileNotFoundException that was hidden until i switched to TRACE logging (org.jboss.util.xml.JBossEntityResolver)...

So here is the thing:
1.) I'm trying to connect to the webservice from code that is deployed to under JBoss
2.) JBossWs saves the wsdl to the **tmp** folder like this:

    file:/home/xxx/dev/XXXX/jboss-4.2.3.GA/server/yyy/
tmp/jbossws/JBossWS_www.company.xx_99_server_soap.php?wsdl=get8489235369016302536.xsd

3.) And then when it tries to read back the WSDL:

    TRACE [org.jboss.util.xml.JBossEntityResolver] Failed to obtain URL.InputStream from systemId: file:/home/xxx/dev/xxx-PAN/jboss-4.2.3.GA/server/xxxxxxx/tmp/jbossws/JBossWS_www.comany.xx_99_server_soap.php?wsdl=get8489235369016302536.xsd
    java.io.FileNotFoundException: /home/xxx/dev/xxx-PAN/jboss-4.2.3.GA/server/xxxxxxx/tmp/jbossws/JBossWS_www.comany.xx_99_server_soap.php

Obviusly it truncates and then not able to read back...

I guess i would be able to configurate somehow the pattern how it writes it to disk or how it reads it back but i did find the solution (even not from the code of the JBoss class i mentioned). Any ideas would be appreciated.

Many thanks,
Dave
