We'll have to add a wsdLocation attribute to the schema and support that. I
will see if I can take care of that today. It was an oversight on my part...

- Dan

On 2/11/07, Willem Jiang <[EMAIL PROTECTED]> wrote:

Hi Dan,

I just went through the jaxws.xsd in the jaxws frontend, I found there
is no attribute like wsdl location in the element endpoint.

You know the wsdl location of the implemetor class is setted by tools
when we build the artifact from wsdl. If we deploy the artifact to
Servlet container, it could be another box, the wsdl file would be found
from the SEI's annotation's wsdl location. So we still need to specify
the wsdl location in the Jaxws endpoint.

What's your thought?

Cheers,

Willem.

[EMAIL PROTECTED] wrote:

>Author: dandiep
>Date: Fri Feb  9 11:36:02 2007
>New Revision: 505443
>
>URL: http://svn.apache.org/viewvc?view=rev&rev=505443
>Log:
>o Add Spring XML parser which create a JAX-WS Endpoint and a Server.
>  The former is meant for the simple cases. The latter is for more
>  advanced users who need to tweak things like the binding. Ultimately
>  I would like to unify these, but I think I need to do another round
>  of changes to unify the Provider/Dispatch/Normal JAX-WS server code
>  first.
>o Try setting the DefaultBus in the CXFBusImpl constructor so things
>  work correctly from Spring.
>o Add a SOAP Binding Spring XML parser.
>
>These parsers are in no way complete. For instance, the SOAP binding
>xml format still needs a property editor to support different SOAP
>versions, but I wanted to get something in so those working on the
>servlet support could keep working on it :-)
>
>
>
>
>Modified:
incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/org/apache/cxf/jaxws/spring/jaxws.xsd
>URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/org/apache/cxf/jaxws/spring/jaxws.xsd?view=diff&rev=505443&r1=505442&r2=505443

>==============================================================================
>---
incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/org/apache/cxf/jaxws/spring/jaxws.xsd
(original)
>+++
incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/org/apache/cxf/jaxws/spring/jaxws.xsd
Fri Feb  9 11:36:02 2007
>@@ -14,10 +14,46 @@
>     <xsd:complexType>
>       <xsd:complexContent>
>         <xsd:extension base="beans:identifiedType">
>-          <xsd:attribute name="class" type="xsd:string" />
>+          <xsd:sequence>
>+            <xsd:element name="executor" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="implementor" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="properties" type="beans:mapType"
minOccurs="0"/>
>+            <xsd:element name="serviceFactory" type="xsd:anyType"
minOccurs="0"/>
>+          </xsd:sequence>
>+          <xsd:attribute name="address" type="xsd:string" />
>+          <xsd:attribute name="binding" type="xsd:string" />
>+          <xsd:attribute name="bus" type="xsd:string" />
>+          <xsd:attribute name="implementor" type="xsd:string"/>
>+          <xsd:attribute name="publish" type="xsd:boolean"
default="true"/>
>+          <xsd:attribute name="portName" type="xsd:QName" />
>+          <xsd:attribute name="serviceName" type="xsd:QName" />
>+        </xsd:extension>
>+      </xsd:complexContent>
>+    </xsd:complexType>
>+  </xsd:element>
>+
>+  <xsd:element name="server">
>+    <xsd:complexType>
>+      <xsd:complexContent>
>+        <xsd:extension base="beans:identifiedType">
>+          <xsd:sequence>
>+            <xsd:element name="binding" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="executor" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="implementor" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="invoker" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="properties" type="beans:mapType"
minOccurs="0"/>
>+            <xsd:element name="serviceBean" type="xsd:anyType"
minOccurs="0"/>
>+            <xsd:element name="serviceFactory" type="xsd:anyType"
minOccurs="0"/>
>+          </xsd:sequence>
>+          <xsd:attribute name="address" type="xsd:string" />
>+          <xsd:attribute name="bus" type="xsd:string" />
>+          <xsd:attribute name="serviceClass" type="xsd:string"/>
>+          <xsd:attribute name="serviceBean" type="xsd:string"/>
>+          <xsd:attribute name="start" type="xsd:boolean"
default="true"/>
>+          <xsd:attribute name="transportId" type="xsd:string"/>
>         </xsd:extension>
>       </xsd:complexContent>
>     </xsd:complexType>
>   </xsd:element>
>
>-</xsd:schema>
>\ No newline at end of file
>+</xsd:schema>
>
>
>




--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to