[
https://issues.apache.org/jira/browse/AXIS2-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142447#comment-15142447
]
Pascal Knüppel commented on AXIS2-5741:
---------------------------------------
in both pom.xml databinding has been configured to adb
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>${axis2-version}</version>
<executions>
<execution>
<!-- Wenn die sources wieder erzeugt werden sollen,
muss die "phase" wieder zurück auf
"generate-sources" gestellt werden. Dieser Umweg
ist deshalb eingebaut, da maven, das
Projekt sonst nicht packen möchte, da die
source-Dateien nach der Generierung doppelt
existieren.
Für weitere Instruktionen siehe Dokument
Axis2-Pflege:
http://intranet/tiki-download_file.php?fileId=1542&highlight=axis2-pflege -->
<phase>none</phase>
<!--<phase>generate-sources</phase>-->
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>de.fiverx.ws</packageName>
<wsdlFile>etc/xml/wsdl/myServiceDefinition.wsdl</wsdlFile>
<databindingName>adb</databindingName>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateServicesXml>true</generateServicesXml>
<generateAllClasses>true</generateAllClasses>
</configuration>
</execution>
</executions>
</plugin>
nothing except the axis2 version has been changed.
> clients cannot resolve service reponse
> --------------------------------------
>
> Key: AXIS2-5741
> URL: https://issues.apache.org/jira/browse/AXIS2-5741
> Project: Axis2
> Issue Type: Bug
> Components: client-api, jaxws
> Affects Versions: 1.7.0
> Reporter: Pascal Knüppel
>
> We have developed an axis2 service some years ago but had some security
> issues with it. Therefore we now patched to version 1.7.0. We got 2 test
> clients, one JAX-WS-client and an axis2-client. Both are working perfectly
> with the old version. But when sending requests to the axis2 service in
> version 1.7.0 the clients cannot resolve the response, though the service is
> answering correctly. What can be the reason of this? JAX-WS-client is
> returning null and axis2-client is throwing an exception of unknown elemtn
> eventhough the mentioned element is absolutely correct. I watched the traffic
> via fiddler to find differences in the reponses of the old version client and
> the new version client. But the differences are minor and do not justify that
> the clients cannot resolve it. I never had this kind of problem with
> webservices except for this axis2-version.
> here is the service-response from the old service version 1.5.1 that the
> clients accept correctly
> HTTP/1.1 200 OK
> Date: Thu, 11 Feb 2016 07:21:14 GMT
> Server: Apache
> Keep-Alive: timeout=5, max=29
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/xml;charset=utf-8
> 2d4
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:ladeRzVersionResponse
> xmlns:ns1="http://fiverx.de/spec/abrechnungsservice/types"><result><?xml
> version="1.0" encoding="ISO-8859-15"?>
> <rzeVersion
> xmlns="http://fiverx.de/spec/abrechnungsservice"><uVersion><versionNr>01.06</versionNr><gracePeriod>2016-12</gracePeriod></uVersion><uVersion><versionNr>01.07</versionNr><gracePeriod>2018-12</gracePeriod></uVersion><uVersion><versionNr>01.08</versionNr><gracePeriod>2020-12</gracePeriod></uVersion></rzeVersion></result></ns1:ladeRzVersionResponse></soapenv:Body></soapenv:Envelope>
> 0
> And here the new service (verson 1.7.0) response that the clients do not
> accept.
> HTTP/1.1 200 OK
> Date: Thu, 11 Feb 2016 07:15:54 GMT
> Server: Apache
> Keep-Alive: timeout=5, max=29
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/xml;charset=utf-8
> 2cb
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><ns1:ladeRzVersionResponse
>
> xmlns:ns1="http://fiverx.de/spec/abrechnungsservice/types"><ns1:result><?xml
> version="1.0" encoding="ISO-8859-15"?>
> <rzeVersion
> xmlns="http://fiverx.de/spec/abrechnungsservice"><uVersion><versionNr>01.06</versionNr><gracePeriod>2016-12</gracePeriod></uVersion><uVersion><versionNr>01.07</versionNr><gracePeriod>2018-12</gracePeriod></uVersion><uVersion><versionNr>01.08</versionNr><gracePeriod>2020-12</gracePeriod></uVersion></rzeVersion></ns1:result></ns1:ladeRzVersionResponse>
> 22
> </soapenv:Body></soapenv:Envelope>
> 0
> EDIT:
> corrected the responses... accidentally put the requests here not the
> responses...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]