Created: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Created: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
WSDL First leads to javax.wsdl.WSDLException: WSDLException
-----------------------------------------------------------

                 Key: CXF-1768
                 URL: https://issues.apache.org/jira/browse/CXF-1768
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1.2, 2.1.1
         Environment: Windows Vista, JDK 1.5.0
            Reporter: Mirko Sertic


WSDL first with spring results in the following Exception:

javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.

The Spring configuration is as follows:

        <import resource="classpath:META-INF/cxf/cxf.xml"/>
        <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>

        <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
        </bean>
       
        <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
                <jaxws:features>
           <bean class="org.apache.cxf.feature.LoggingFeature"/>
        </jaxws:features>
        </jaxws:endpoint>

I have to specify the spring configuration as follows to make it working:

        <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
                 xmlns:tns="http://www.bedag.ch/cc-info"
                 xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
                 serviceName="tns:CCService"
                 endpointName="tns:CCPortType">
                <jaxws:features>
           <bean class="org.apache.cxf.feature.LoggingFeature"/>
        </jaxws:features>
        </jaxws:endpoint>

I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Updated: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mirko Sertic updated CXF-1768:
------------------------------

    Attachment: cc-info-common-types.xsd

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Updated: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mirko Sertic updated CXF-1768:
------------------------------

    Attachment: cc-info.wsdl

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626688#action_12626688 ]

Daniel Kulp commented on CXF-1768:
----------------------------------


Can you attach the CCInfoWSImpl class as well.  (you can leave out any business logic, I'm interested in seeing the annotations)



> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Updated: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mirko Sertic updated CXF-1768:
------------------------------

    Attachment: CCInfoWSImpl.java

Here is the requested WSImpl class.

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627006#action_12627006 ]

Daniel Kulp commented on CXF-1768:
----------------------------------


Well, I can explain why the second scenario (specifying the names) works:  you don't have a @WebService annotation at all.    

In that case, we have to use the JAX-WS rules to figure out what the service name and endpoint name really are.   In your case, that would be CCInfoWSImplService and CCInfoWSImplPort.    We then check the wsdl for those names.   There isn't a service/port by those names in there, so we end up dynamically creating one for use at runtime.     Apparently, the dynamically created one is have namespace issues in the wsdl writing step.

By specifying the correct names, we can find the correct information in the WSDL and use the wsdl as is.   You can do that either via the attributes in your config like you did or via attributes on a @WebService annotation on your impl.





> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627409#action_12627409 ]

Mirko Sertic commented on CXF-1768:
-----------------------------------

Ok, but the CCPortType interface is annotated with the @WebService annotation, and the CCInfoWSImpl class implements this interface. So aint annotations not inherited?

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627797#action_12627797 ]

Daniel Kulp commented on CXF-1768:
----------------------------------


The CCPortType annotation only contains the "portType" name as it represents the abstract portType, not the service name or endpoint/port names.  Those go on the WebService annotation on the impl.

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628312#action_12628312 ]

Mirko Sertic commented on CXF-1768:
-----------------------------------

Thank you for your response. And how sould i specify the Annotation with the required namespaces, portTypes and serviceName? What do i have to write in the impl class?

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657601#action_12657601 ]

Joe Morrison commented on CXF-1768:
-----------------------------------

Is there any progress on this issue? I am having it too with Spring 2.5.6 and CXF 2.1.3. I've resolved it for the time being by rolling back to CXF 2.0.9 which works perfectly.  I can't send the entire body of code to reproduce this, but I can send snippets if you let me know which bits would be helpful.

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657800#action_12657800 ]

Mirko Sertic commented on CXF-1768:
-----------------------------------

I didn't make progress here, as i will continue work on this issue the next year. I will post a comment as soon as i have news.
Regards
Mirko

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772028#action_12772028 ]

Daniel Kulp commented on CXF-1768:
----------------------------------


Is this still an issue?   Any updated information?

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772040#action_12772040 ]

Joe Morrison commented on CXF-1768:
-----------------------------------

I'm no longer at Deutsche Bank as of Sept 11, 2009. For questions
related to Sierra, ORCA, or COPS please contact Johnny Saucedo
([hidden email]) or Yuriy Bakumenko ([hidden email]).

If you need to reach me personally, my email address is
[hidden email] and my cell phone number is (917) 952-2935.

Thanks and best regards,
- Joe Morrison


--
Joe Morrison, Lab49                          http://www.lab49.com
Cell +1 (917) 952-2935

This communication may contain confidential and/or privileged
information. If you are not the intended recipient (or have received
this communication in error) please notify the sender immediately and
destroy this communication. Any unauthorized copying, disclosure or
distribution of the material in this communication is strictly
forbidden.Deutsche Bank does not render legal or tax advice, and the
information contained in this communication should not be regarded as
such.


> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1768.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: Invalid


No real updates or response in 11 months.   Two weeks since last query also resulted in no updates.   Resolving.

> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>             Fix For: Invalid
>
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CXF-1768) WSDL First leads to javax.wsdl.WSDLException: WSDLException

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777580#action_12777580 ]

Joe Morrison commented on CXF-1768:
-----------------------------------

I'm no longer at Deutsche Bank as of Sept 11, 2009. For questions
related to Sierra, ORCA, or COPS please contact Johnny Saucedo
([hidden email]) or Yuriy Bakumenko ([hidden email]).

If you need to reach me personally, my email address is
[hidden email] and my cell phone number is (917) 952-2935.

Thanks and best regards,
- Joe Morrison


--
Joe Morrison, Lab49                          http://www.lab49.com
Cell +1 (917) 952-2935

This communication may contain confidential and/or privileged
information. If you are not the intended recipient (or have received
this communication in error) please notify the sender immediately and
destroy this communication. Any unauthorized copying, disclosure or
distribution of the material in this communication is strictly
forbidden.Deutsche Bank does not render legal or tax advice, and the
information contained in this communication should not be regarded as
such.


> WSDL First leads to javax.wsdl.WSDLException: WSDLException
> -----------------------------------------------------------
>
>                 Key: CXF-1768
>                 URL: https://issues.apache.org/jira/browse/CXF-1768
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows Vista, JDK 1.5.0
>            Reporter: Mirko Sertic
>             Fix For: Invalid
>
>         Attachments: cc-info-common-types.xsd, cc-info.wsdl, CCInfoWSImpl.java
>
>
> WSDL first with spring results in the following Exception:
> javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for ... Namespace prefixes must be set on the Definition object using the addNamespace(...) method.
> The Spring configuration is as follows:
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <bean id="ccInfoServiceImpl" class="ch.bedag.a11.ccinfo.business.service.impl.CCInfoWSImpl">
> </bean>
>
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I have to specify the spring configuration as follows to make it working:
> <jaxws:endpoint id="ccInfoServiceEndpoint" implementor="#ccInfoServiceImpl" address="/ccinfo"
> xmlns:tns="http://www.bedag.ch/cc-info"
> xmlns:cdt="http://www.bedag.ch/cc-info/common/types"
> serviceName="tns:CCService"
> endpointName="tns:CCPortType">
> <jaxws:features>
>            <bean class="org.apache.cxf.feature.LoggingFeature"/>
>         </jaxws:features>
> </jaxws:endpoint>
> I dont know why i have to specify the porttype again. I added the used wsdl files for bug tracking.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.