• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in creating web-services.xml

 
Lokesh Pahadi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I a trying to create the deployment descriptor file 'web-services.xml' using source2wsdd. Before doing this I have already generated the types.xml file usig 'autotype'.

When I try to generate the web-services.xml file using this Ant script:
<project name="buildWebservice" default="generate-typeinfo">
<target name="generate-typeinfo">
<source2wsdd
javaSource="com/services/BaseWebServiceSimulator.java"
typesInfo="types.xml"
ddFile="web-services.xml"
serviceURI="/MyService" />
</target>
</project>

It gives me the following error:
[source2wsdd] -----------------E--R--R--O--R-------------------
[source2wsdd] Message : unable to find xml type for java
[source2wsdd] : class:class [Ljava.lang.String; in the type
[source2wsdd] : mapping specified: TYPEMAPPING SIZE=4


See below.
What does this means? I guess we don't need to provide any serializing and deserializing info for the built in types. What kind of error is this. Anyone with any clues or suggestion would be really helpful.

C:\webSerWithXstream>ant
Buildfile: build.xml

generate-typeinfo:
[source2wsdd] Loading source file C:\webSerWithXstream\com\services\BaseWebServiceSimulator.java...
[source2wsdd] Constructing Javadoc information...
[source2wsdd] source2wsdd: In doclet class weblogic.webservice.tools.ddgen.ServiceGen, method start has thrown an exception java.lang.
reflect.InvocationTargetException
[source2wsdd] -----------------E--R--R--O--R-------------------
[source2wsdd] Message : unable to find xml type for java
[source2wsdd] : class:class [Ljava.lang.String; in the type
[source2wsdd] : mapping specified: TYPEMAPPING SIZE=4

[source2wsdd] ENTRY 1:

[source2wsdd] class: com.helpers.Site

[source2wsdd] xsd_type: ['java:com.helpers']:lcl0:Site

[source2wsdd] ser: com.helpers.SiteCodec@4865ce

[source2wsdd] deser: com.helpers.SiteCodec@113beb5

[source2wsdd] ENTRY 2:

[source2wsdd] class: com.helpers.Address

[source2wsdd] xsd_type: ['java:com.helpers']:lcl0:Address

[source2wsdd] ser: com.helpers.AddressCodec@14d7745

[source2wsdd] deser: com.helpers.AddressCodec@d17ec3

[source2wsdd] ENTRY 3:

[source2wsdd] class: com.helpers.Product

[source2wsdd] xsd_type: ['java:com.helpers']:lcl0 roduct

[source2wsdd] ser: com.helpers.ProductCodec@1d95da8

[source2wsdd] deser: com.helpers.ProductCodec@193f6e2

[source2wsdd] ENTRY 4:

[source2wsdd] class: com.helpers.TariffProduct

[source2wsdd] xsd_type: ['java:com.helpers']:lcl0:TariffProduct

[source2wsdd] ser: com.helpers.TariffProductCodec@1358f03

[source2wsdd] deser: com.helpers.TariffProductCodec@1402d5a



[source2wsdd] Class : BaseWebServiceSimulator

[source2wsdd] Method : main

[source2wsdd] For details :
[source2wsdd] : 'weblogic.webservice.tools.verbose=true'
[source2wsdd] -------------------------------------------------
[source2wsdd] 1 error

BUILD FAILED
file:C:/webSerWithXstream/build.xml:7: javadoc execution failed

Total time: 3 seconds

C:\webSerWithXstream>




Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!