[Issue 571] New - XSD Location not altered in published wsdl w/ schemavalidation

View: New views
2 Messages — Rating Filter:   Alert me  

[Issue 571] New - XSD Location not altered in published wsdl w/ schemavalidation

by klaasjanelzinga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=571
                 Issue #|571
                 Summary|XSD Location not altered in published wsdl w/ schemava
                        |lidation
               Component|jax-ws
                 Version|2.1.4
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|runtime
             Assigned to|issues@jax-ws
             Reported by|klaasjanelzinga






------- Additional comments from klaasjanelzinga@... Wed May 28 08:04:48 +0000 2008 -------
I am using @SchemaValidation with the following stack:
- ibm aix w/ ibm jre
- weblogic 9.2

In jax-ws I was troubled by issue 523 (NPE in schemavalidation). With 2.1.4 this
is resolved and this works perfecly. However, in the generated wsdl xsd location
is not altered to the actual location. It is still <xsd:import namespace=".."
schemaLocation="adapter.xsd"/>  (I removed the namespace). The xsd cannot be
found at the specified location.

If I run the same application on my local machine (windows / sun jre and jetty)
than the xsd location is altered to the actual location: <xsd:import
namespace="..." schemaLocation="http://localhost:8080/AdapterWebApp/adapter?xsd=1"/>


This happens if I run on 2.1.4 jax-ws with the wscommons-spring 1.8. I injected
the meta data as:
   <ws:service id="adapter" bean="#adapterServiceEndpoint">
      <ws:metadata>
         <value>wsdl/adapter.xsd</value>
      </ws:metadata>
      <ws:primaryWsdl>
         <value>wsdl/adapter.wsdl</value>
      </ws:primaryWsdl>
   </ws:service>

The endpoint is annotated as:
@SchemaValidation(handler=SchemaValidationErrorHandler.class)
@WebService(endpointInterface = "...adapter.service.Port",
    targetNamespace = "...",
    serviceName = "Service",
    portName = "AdapterServicePort")

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 571] XSD Location not altered in published wsdl w/ schemavalidation

by jitu-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=571



User jitu changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|issues@jax-ws             |jitu
--------------------------------------------------------------------------------




------- Additional comments from jitu@... Thu Jul 10 06:13:58 +0000 2008 -------
Assigning it to myself.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...

LightInTheBox - Buy quality products at wholesale price