[ 
https://issues.apache.org/jira/browse/JUDDI-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654888#comment-13654888
 ] 

Alex O'Ree edited comment on JUDDI-514 at 5/11/13 2:39 PM:
-----------------------------------------------------------

Here's the request before sending it

 <org.uddi.api_v3.SaveBusiness xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; 
xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:authInfo>snip</ns3:authInfo>
    <ns3:businessEntity>
        <ns3:name>graphical.weather.gov</ns3:name>
        <ns3:businessServices>
            <ns3:businessService 
serviceKey="uddi:graphical.weather.gov:service_ndfdxml" 
businessKey="uddi:graphical.weather.gov:business_graphical.weather.gov">
                <ns3:name xml:lang="en">ndfdXML</ns3:name>
                <ns3:description xml:lang="en">Default service description when 
no &lt;wsdl:document&gt; element is defined inside the &lt;wsdl:service&gt; 
element.</ns3:description>
                <ns3:bindingTemplates>
                    <ns3:bindingTemplate 
bindingKey="uddi:graphical.weather.gov:binding_graphical.weather.gov_ndfdxml_ndfdxmlport_80"
 serviceKey="uddi:graphical.weather.gov:service_ndfdxml">
                        <ns3:description xml:lang="en">Default binding 
description when no &lt;wsdl:document&gt; element is defined inside the 
&lt;wsdl:binding&gt; element.</ns3:description>
                        <ns3:accessPoint 
useType="endPoint">http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php</ns3:accessPoint>
                        <ns3:tModelInstanceDetails>
                            <ns3:tModelInstanceInfo 
tModelKey="uddi:graphical.weather.gov:ndfdXMLBinding">
                                <ns3:description xml:lang="en">The wsdl:binding 
that this wsdl:port implements. Default binding description when no 
&lt;wsdl:document&gt; element is defined inside the &lt;wsdl:binding&gt; 
element. The instanceParms specifies the port local name.</ns3:description>
                                <ns3:instanceDetails>
                                    
<ns3:instanceParms>ndfdXMLPort</ns3:instanceParms>
                                </ns3:instanceDetails>
                            </ns3:tModelInstanceInfo>
                            <ns3:tModelInstanceInfo 
tModelKey="uddi:graphical.weather.gov:ndfdXMLPortType">
                                <ns3:description xml:lang="en">The 
wsdl:portType that this wsdl:port implements.</ns3:description>
                            </ns3:tModelInstanceInfo>
                        </ns3:tModelInstanceDetails>
                    </ns3:bindingTemplate>
                </ns3:bindingTemplates>
                <ns3:categoryBag>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:xml:namespace" 
keyName="uddi-org:xml:namespace" 
keyValue="http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl"/>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:wsdl:types" 
keyName="uddi-org:wsdl:types" keyValue="service"/>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:xml:localname" 
keyName="uddi-org:xml:localName" keyValue="ndfdXML"/>
                </ns3:categoryBag>
            </ns3:businessService>
        </ns3:businessServices>
    </ns3:businessEntity>
</org.uddi.api_v3.SaveBusiness>

                
      was (Author: spyhunter99):
    Here's the request before sending it

 <org.uddi.api_v3.SaveBusiness xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"; 
xmlns:ns3="urn:uddi-org:api_v3">
    <ns3:authInfo>snip</ns3:authInfo>
    <ns3:businessEntity>
        <ns3:name>graphical.weather.gov</ns3:name>
        <ns3:businessServices>
            <ns3:businessService 
serviceKey="uddi:graphical.weather.gov:service_ndfdxml" 
businessKey="uddi:graphical.weather.gov:business_graphical.weather.gov">
                <ns3:name xml:lang="en">ndfdXML</ns3:name>
                <ns3:description xml:lang="en">Default service description when 
no &lt;wsdl:document&gt; element is defined inside the &lt;wsdl:service&gt; 
element.</ns3:description>
                <ns3:bindingTemplates>
                    <ns3:bindingTemplate 
bindingKey="uddi:graphical.weather.gov:binding_graphical.weather.gov_ndfdxml_ndfdxmlport_80"
 serviceKey="uddi:graphical.weather.gov:service_ndfdxml">
                        <ns3:description xml:lang="en">Default binding 
description when no &lt;wsdl:document&gt; element is defined inside the 
&lt;wsdl:binding&gt; element.</ns3:description>
                        <ns3:accessPoint 
useType="endPoint">http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php</ns3:accessPoint>
                        <ns3:tModelInstanceDetails>
                            <ns3:tModelInstanceInfo 
tModelKey="uddi:graphical.weather.gov:ndfdXMLBinding">
                                <ns3:description xml:lang="en">The wsdl:binding 
that this wsdl:port implements. Default binding description when no 
&lt;wsdl:document&gt; element is defined inside the &lt;wsdl:binding&gt; 
element. The instanceParms specifies the port local name.</ns3:description>
                                <ns3:instanceDetails>
                                    
<ns3:instanceParms>ndfdXMLPort</ns3:instanceParms>
                                </ns3:instanceDetails>
                            </ns3:tModelInstanceInfo>
                            <ns3:tModelInstanceInfo 
tModelKey="uddi:graphical.weather.gov:ndfdXMLPortType">
                                <ns3:description xml:lang="en">The 
wsdl:portType that this wsdl:port implements.</ns3:description>
                            </ns3:tModelInstanceInfo>
                        </ns3:tModelInstanceDetails>
                    </ns3:bindingTemplate>
                </ns3:bindingTemplates>
                <ns3:categoryBag>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:xml:namespace" 
keyName="uddi-org:xml:namespace" 
keyValue="http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl"/>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:wsdl:types" 
keyName="uddi-org:wsdl:types" keyValue="service"/>
                    <ns3:keyedReference tModelKey="uddi:uddi.org:xml:localname" 
keyName="uddi-org:xml:localName" keyValue="ndfdXML"/>
java.lang.NullPointerException
                </ns3:categoryBag>
            </ns3:businessService>
        </ns3:businessServices>
    </ns3:businessEntity>
</org.uddi.api_v3.SaveBusiness>

                  
> Upgrade support WSDL2UDDI registration
> --------------------------------------
>
>                 Key: JUDDI-514
>                 URL: https://issues.apache.org/jira/browse/JUDDI-514
>             Project: jUDDI
>          Issue Type: Task
>          Components: uddi-client
>    Affects Versions: 3.1.0
>            Reporter: Kurt T Stam
>            Assignee: Kurt T Stam
>             Fix For: 3.1.5
>
>
> - replace key generation
> - support WSDL registration
> - check if service exist before creating (and replacing exisiting one)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to