cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2338) Service created from WSDL doesn't deserialize correctly
Date Thu, 16 Jul 2009 18:14:14 GMT

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

Daniel Kulp resolved CXF-2338.
------------------------------

       Resolution: Invalid
    Fix Version/s: Invalid

> Service created from WSDL doesn't deserialize correctly
> -------------------------------------------------------
>
>                 Key: CXF-2338
>                 URL: https://issues.apache.org/jira/browse/CXF-2338
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.2
>         Environment: Darwin fou162.telenor.ntnu.no 9.7.0 Darwin Kernel Version 9.7.0:
Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
> fou162:lib wakko$ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_13
> OS name: "mac os x" version: "10.5.7" arch: "x86_64" Family: "mac"
>            Reporter: Anders Storsveen
>             Fix For: Invalid
>
>
> I'm trying to create a web service from a WSDL file and then run it embedded in my java
application. I'm using maven to generate the classes and then create my own Impl and start
it with Endpoint.publish(). This seems to work fine, however not all deserialize correctly.
The method in question, takes two parameters, one String and one complex SmsMessage class.
When I invoke the method the SOAP is fine (and there exists other services built on this wsdl
that works) however the String in the method is set correctly, while the complex class is
empty. 
> The wsdl file in question: http://px.pats.no/px/services/SmsNotification?WSDL
> A web-based client that can be used to invoke the service: http://px.pats.no/px/4_short_messaging/index_notification_SMS.html
> From my pom.xml file:
> 			<plugin>
> 				<groupId>org.apache.cxf</groupId>
> 				<artifactId>cxf-codegen-plugin</artifactId>
> 				<version>${cxf.version}</version>
> 				<executions>
> 					<execution>
> 						<id>generate-sources</id>
> 						<configuration>
> 							<wsdlOptions>
> 								<wsdlOption>
> 									<!-- <wsdl>${basedir}/wsdl/SmsNotification.wsdl</wsdl> -->
> 									<wsdl>http://px.pats.no/px/services/SmsNotification?WSDL</wsdl>
> 								</wsdlOption>
> 							</wsdlOptions>
> 						</configuration>
> 						<goals>
> 							<goal>wsdl2java</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 			</plugin>

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


Mime
View raw message