Hi Ragu,
Actually you can use G-Reg itself to validate a WSDL. Add it as a WSDL
artifact and see whether it fails, otherwise its clean.

thanks
Eranda


On Wed, Dec 5, 2012 at 6:39 AM, Sriragu Arudsothy <[email protected]> wrote:

> Hai Eranda,
>
>                 wsdl file does start with <wsdl:definitions .......> tag.
> Then the wsdl file should have the declaration like <xmlns:wsdl .........>.
> Otherwise when I pass the wsdl to wsdl2java tool / wso2 application server
> tool generate an exception that says "wsdl prefix is not bounded/similar. I
> generate the exception for all the undeclared tags.
>
> all the generated wsdls have target namespace only nothing else declared.
>
> Thanks
> Ragu
>
> On Tue, Dec 4, 2012 at 9:42 PM, Eranda Sooriyabandara <[email protected]>wrote:
>
>> Hi Ragu,
>> I used the wsdls to create the stub when I create the URI client which
>> most two months earlier. I don't think it is broken now, as I tried, it
>> works with the soapUI. Anyway what do you mean by does not have the
>> namespace declaration? As I can see it has a targetNamespace.
>>
>> thanks
>> Eranda
>>
>>
>> On Tue, Dec 4, 2012 at 7:17 PM, Sriragu Arudsothy <[email protected]>wrote:
>>
>>> Hai Eranda, All,
>>>
>>>                       Once we deployed the Rxt, when I view the
>>> generated WSDL file for the deployed RXT does not have the namespace
>>> declaration. Therefore it does not get passed when used to create a stub.
>>> After I added the required namespaces it got passed and generated the stub.
>>> Therefore the WSDL file are not generated properly.
>>>
>>> I am going to try the SOAP UI to generate the stub. I think it does not
>>> even generate since the generated WSDL file does not even declare the
>>> namespaces for wsdl,soap ...etc.
>>>
>>> I will try as what Eranda said. Is there any approach  to create a stub
>>> from
>>>
>>> Thanks!
>>> Ragu
>>>
>>
>>
>>
>> --
>> *Eranda Sooriyabandara
>> *Software Engineer;
>> Integration Technologies Team;
>> WSO2 Inc.; http://wso2.com
>>
>> *
>> *
>>
>>
>


-- 
*Eranda Sooriyabandara
*Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com

*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to