yes, it is resolved now, that must be the reason for it. Thanks a lot, Nishali
On Fri, Oct 3, 2014 at 2:06 PM, Shiva Balachandran <sh...@wso2.com> wrote: > So this is resolved right? I'm guessing those attributes are hidden in the > browser view, and are re-factored and added to the document when it is > saved. > > On Fri, Oct 3, 2014 at 1:31 PM, Nishali Wijesinghe <nisha...@wso2.com> > wrote: > >> Hi Shiva, >> >> This what I got when I copied the wsdl file directly from the web browser. >> >> <wsdl:definitions targetNamespace="http://mgt.order.carbon.wso2.org >> "><wsdl:documentation>OrderProcessor</wsdl:documentation> >> <wsdl:types> >> <xs:schema xmlns:ax299="http://data.mgt.order.carbon.wso2.org/xsd" >> attributeFormDefault="qualified" elementFormDefault="qualified" >> targetNamespace="http://mgt.order.carbon.wso2.org"> >> <xs:import namespace=" >> http://data.mgt.order.carbon.wso2.org/xsd"/> >> <xs:element name="getOrder"> >> <xs:complexType> >> <xs:sequence/> >> </xs:complexType> >> </xs:element> >> <xs:element name="getOrderResponse"> >> <xs:complexType> >> <xs:sequence> >> <xs:element maxOccurs="unbounded" minOccurs="0" >> name="return" nillable="true" type="ax298:Order"/> >> </xs:sequence> >> </xs:complexType> >> </xs:element> >> </xs:schema> >> <xs:schema attributeFormDefault="qualified" >> elementFormDefault="qualified" targetNamespace=" >> http://data.mgt.order.carbon.wso2.org/xsd"> >> <xs:complexType name="Order"> >> <xs:sequence> >> <xs:element minOccurs="0" name="ID" type="xs:int"/> >> <xs:element minOccurs="0" name="price" >> type="xs:double"/> >> <xs:element minOccurs="0" name="quantity" >> type="xs:int"/> >> <xs:element minOccurs="0" name="type" nillable="true" >> type="xs:string"/> >> </xs:sequence> >> </xs:complexType> >> </xs:schema> >> </wsdl:types> >> <wsdl:message name="getOrderRequest"> >> <wsdl:part name="parameters" element="ns:getOrder"/> >> </wsdl:message> >> <wsdl:message name="getOrderResponse"> >> <wsdl:part name="parameters" element="ns:getOrderResponse"/> >> </wsdl:message> >> <wsdl:portType name="OrderProcessorPortType"> >> <wsdl:operation name="getOrder"> >> <wsdl:input message="ns:getOrderRequest" >> wsaw:Action="urn:getOrder"/> >> <wsdl:output message="ns:getOrderResponse" >> wsaw:Action="urn:getOrderResponse"/> >> </wsdl:operation> >> </wsdl:portType> >> <wsdl:binding name="OrderProcessorSoap11Binding" >> type="ns:OrderProcessorPortType"> >> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" >> style="document"/> >> <wsdl:operation name="getOrder"> >> <soap:operation soapAction="urn:getOrder" style="document"/> >> <wsdl:input> >> <soap:body use="literal"/> >> </wsdl:input> >> <wsdl:output> >> <soap:body use="literal"/> >> </wsdl:output> >> </wsdl:operation> >> </wsdl:binding> >> <wsdl:binding name="OrderProcessorSoap12Binding" >> type="ns:OrderProcessorPortType"> >> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" >> style="document"/> >> <wsdl:operation name="getOrder"> >> <soap12:operation soapAction="urn:getOrder" style="document"/> >> <wsdl:input> >> <soap12:body use="literal"/> >> </wsdl:input> >> <wsdl:output> >> <soap12:body use="literal"/> >> </wsdl:output> >> </wsdl:operation> >> </wsdl:binding> >> <wsdl:binding name="OrderProcessorHttpBinding" >> type="ns:OrderProcessorPortType"> >> <http:binding verb="POST"/> >> <wsdl:operation name="getOrder"> >> <http:operation location="getOrder"/> >> <wsdl:input> >> <mime:content type="text/xml" part="parameters"/> >> </wsdl:input> >> <wsdl:output> >> <mime:content type="text/xml" part="parameters"/> >> </wsdl:output> >> </wsdl:operation> >> </wsdl:binding> >> <wsdl:service name="OrderProcessor"> >> <wsdl:port name="OrderProcessorHttpsSoap11Endpoint" >> binding="ns:OrderProcessorSoap11Binding"> >> <soap:address location=" >> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsSoap11Endpoint/ >> "/> >> </wsdl:port> >> <wsdl:port name="OrderProcessorHttpsSoap12Endpoint" >> binding="ns:OrderProcessorSoap12Binding"> >> <soap12:address location=" >> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsSoap12Endpoint/ >> "/> >> </wsdl:port> >> <wsdl:port name="OrderProcessorHttpsEndpoint" >> binding="ns:OrderProcessorHttpBinding"> >> <http:address location=" >> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsEndpoint/ >> "/> >> </wsdl:port> >> </wsdl:service> >> </wsdl:definitions> >> >> >> >> >> This didn't work. But then I saved the web page as a separate wsdl file >> in the desktop (as mentioned by Supun above). The definition tag of that >> file is as follows. >> >> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" >> xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns=" >> http://mgt.order.carbon.wso2.org" xmlns:wsaw=" >> http://www.w3.org/2006/05/addressing/wsdl" xmlns:http=" >> http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax298=" >> http://data.mgt.order.carbon.wso2.org/xsd" xmlns:xs=" >> http://www.w3.org/2001/XMLSchema" xmlns:soap=" >> http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime=" >> http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12=" >> http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace=" >> http://mgt.order.carbon.wso2.org"> >> >> Rest of the code is same as above. >> When I use this file to do a maven build, it works fine without any >> errors. >> >> Thanks, >> Regards, >> Nishali >> >> >> >> On Fri, Oct 3, 2014 at 12:15 PM, Shiva Balachandran <sh...@wso2.com> >> wrote: >> >>> Hi Nishali, >>> >>> >>> Please share your wsdl file with us. One of your tags in the file is not >>> bound. >>> >>> Thanks >>> >>> On Fri, Oct 3, 2014 at 11:24 AM, Supun Muthutantrige <sup...@wso2.com> >>> wrote: >>> >>>> Hii Nishali, >>>> >>>> Just check your wsdl again. It seems there is a problem in saving it. >>>> Try to save it from the browser as a wsdl file instead of copying and then >>>> saving in a different file. >>>> >>>> Regards >>>> >>>> >>>> *Supun Rasitha Muthutantrige* >>>> >>>> >>>> >>>> >>>> *supunrWSO2 Inc: http://wso2.com <http://wso2.com> >>>> lean.enterprise.middleware* >>>> *Mobile: 0758374608* >>>> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Shiva Balachandran >>> Software Engineer >>> WSO2 Inc. >>> >>> Mobile - +94 774445788 >>> >> >> >> >> -- >> Nishali Wijesinghe >> Intern - Engineering >> WSO2, Inc. >> lean.enterprise.middleware. >> Tel: +94716913495 >> > > > > -- > Shiva Balachandran > Software Engineer > WSO2 Inc. > > Mobile - +94 774445788 > -- Nishali Wijesinghe Intern - Engineering WSO2, Inc. lean.enterprise.middleware. Tel: +94716913495
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev