2006 Dec 14 10:38 AM
Hi,
We made an ABAP webservice with input parameters.
In the WSDL the type of the parameters is:
- <wsdl:message name="ZTestWebService2">
<wsdl:part name="Costcenter" type="n0:char10" />
The type char10 is defined like:
- <xsd:simpleType name="char10">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
Question is: is there a way to influence the creation of this types, so that the type is not referring to n0:char10 but to something like char and that the length is also defined in the part name ? Something that is more Java friendly and will not create code for complex types on the client-side ?
Thanks,
Rolf.
2006 Dec 14 10:46 AM
HI,
No u cant change this parameter dynamically after the release of web service.
When u will release the webservice for a RFC,the WSDL file will be generated.That time it will generate the files for every parameter types which are used in the RFC.
If u want increase this value length,Then u hv to increase the lenght of the parameter in RFC and then release the web service.So that it will come here.
Bcause in webservice lenght will not allow more that the lenghth which u gave in RFC.
Regs
Manas Ranjan Panda
2006 Dec 14 10:46 AM
HI,
No u cant change this parameter dynamically after the release of web service.
When u will release the webservice for a RFC,the WSDL file will be generated.That time it will generate the files for every parameter types which are used in the RFC.
If u want increase this value length,Then u hv to increase the lenght of the parameter in RFC and then release the web service.So that it will come here.
Bcause in webservice lenght will not allow more that the lenghth which u gave in RFC.
Regs
Manas Ranjan Panda
2006 Dec 14 2:11 PM
Well, the generated WSDL uses namespaces, our client side programmer asks for a WSDL without namespaces. Just wondering if this is possible ?
2006 Dec 14 2:21 PM
HI,
As per my knowledge, its not possible.
U may ask ur administrator for doing some configurations, if it can help.
Programmetically its not possible.
Mark points.
Regs
Manas Ranjan Panda
2006 Dec 15 8:00 AM