users@jax-rpc.java.net

Re: invalid entity name exception with wscompile

From: Farrukh Najmi <Farrukh.Najmi_at_Sun.COM>
Date: Fri, 02 Jul 2004 09:03:05 -0400

Vivek Pandey wrote:

> I should also mention why this exeption occurs. The
> InternalSchemaBuilder in jaxrpc tries to resolve the schema component
> (its subcompoennets) and it browses thru all the schema document
> imported or inlined. In a situation when it fails to resolve you see
> such error.
>
> In this particular case, rs:RegistryRequestType has child elelement
> referencing rim:SignatureList which intern has child element
> referecing dsig:Signature, dsig schema is not local is on net. So
> without correct httpproxy settings its not imported and when parsing
> schema rs:RegistryRequestType is not resolved and this exception occurs.

Hi Vivek,

This is exactly what the problem was. Thank you so very much for your
help. Maybe an FAQ entry might make sense for this error and things to
look for. Thanks.

Finally, congratulations to you, JAX-RPC team and JWSDP 1.4 team for
another solid feature packed release.

-- 
Regards,
Farrukh
>
> -vivek.
>
> Vivek Pandey wrote:
>
>> check your httpproxy settings. With correct -httpproxy settings I see 
>> that wscompile runs fine. Without httpproxy setting or with incorrect 
>> httpproxy setting I see the same exception regardles of jwsdp 1.4 or 1.3.
>>
>> -vivek.
>>
>> Farrukh Najmi wrote:
>>
>>> As I am migrating from JWSDP 1.3 to JWSDP 1.4 I am regenerating 
>>> stubs/skeleton for my WSDL that used to work.
>>> I am now getting the same exception:
>>>
>>> generate.client.notificationListener:
>>>     [exec] modeler error: model error: invalid entity name: 
>>> "RegistryResponseType" (in namespace: 
>>> "urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0")
>>>     [exec]     at 
>>> com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:274) 
>>>
>>>     [exec]     at 
>>> com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88) 
>>>
>>>     [exec]     at 
>>> com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
>>>     [exec]     at 
>>> com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.ja
>>>
>>> How did your issue get resolved?
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net