Web service naming conflicts

when i tried to add a web service to creator i get naming conflicts error. using one default targetnamespace(package) cause this. at netbeans 5.5 after adding wsdl i change build-impl.xml. i remove package propery from wsimport tag. that causes to generate classes to the packages that defined at shemas. how can i implement this to Creator. there is no parameter for using webservices.
<wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.classes.dir}" wsdl="${basedir}/xml-resources/web-service-references/Simple/wsdl/Simple.wsdl" catalog="catalog.xml"/>

It would be usefull to know how we can find out why Sun Java Studio Creator is not able to add some Web Services. I seems that JSC has problems to compute the WSDL File of these services.
The Error Messages of your Tool are not very helpfull, e. g. :
"Start http://soap.search.msn.com/webservices.asmx?wsdl 09/22/2006 09:17:02:�Parsing WSDL. Please wait ..WSDL - http://soap.search.msn.com/webservices.asmx?wsdl 09/22/2006 09:17:04:�Parsing WSDL results: Error:Folgende Namenskonflikte sind aufgetreten: SearchResponse_Type 09/22/2006 09:17:04:�Parsing WSDL. Please wait ..WSDL - http://soap.search.msn.com/webservices.asmx?wsdl 09/22/2006 09:17:05:�Parsing WSDL results: Error:Folgende Namenskonflikte sind aufgetreten: SearchResponse_Type".
Thank you

Similar Messages

  • Web Services naming conversion

    Hi,
    I try to create web service consumer proxy (through SE80). As a source I am using local WSDL file. What confuses me is the fact, that at the end system asks me to enter object access key ... Why system needs this key when I am createing my own object? Are there any naming conversions required to be met? For example, in WSDL i have defined port with name TPSPPORT, and system asks me to enter access key to the object CO_TPSPORT_TYPE ... Changing TPSPORT type to ZTPSPORT did not help.
    Any ideas?
    Thank you.
    Edited by: Rastislav Mojzis on Jul 24, 2008 10:38 AM

    Sorry for typing error ... Of course I meant "naming conventions" ...

  • Web Services in an EAR Deployment

    On deploying an EAR that includes a EJB web service JAR, I find that the WSDL url generated on the Web Services page is incorrect. For example for a web service named WebService1, the WSDL link shown on the WebServices page is ...oraclecloudapps.com/WebService1/WebService1?wsdl but is instead found at ...oraclecloudapps.com/WebService1?wsdl
    Also the schemaLocation link within the WSDL is generated incorrectly. It appears as ....oraclecloudapps.com:443/WebService1/WebService1?xsd=1 but is instead found at oraclecloudapps.com:443/WebService1?xsd=1
    This naturally leads to auto generation of web services client failing in NetBeans.
    I have encountered this issue only when deploying a web service JAR as part of an EAR. It does not occur if the web service is directly part of a WAR that's being deployed.
    Thanks
    Harshad

    Harshad ,
    Thanks for pointing this issue, We will investigate and get back to you.

  • Web Service help - ORA-30625: method dispatch on NULL SELF errors

    Hi All
    I could do with some assistance getting Web service's up & running on my application
    I've been following this guide but altering to fit in with our internal web services... the Internet police here at work have youtube blocked off so unable to test end to end using the OTN tutorial
    I've created a web service named PASSWORDGEN with the results stored in the collection PASSWORDRESULT
    On my page I've created the process that invokes the webservice PASSWORDGEN which is set to run on load - before header - seq #10
    then created the pl/sql anonymous block process which is set to run on load - before header - seq #20
    I've used the pl/sql example given in the tutorial but substituted their references to collections with my named collection .
    declare
    l_clob clob;
    l_xml xmltype;
    l_val clob;
    begin
    for c1 in (select clob001
    from apex_collections
    where collection_name = 'PASSWORDRESULT'
    ) loop
    l_clob := c1.clob001;
    exit;
    end loop;
    l_xml := xmltype.createxml(l_clob);
    l_val := dbms_xmlgen.convert(l_xml.extract('/methodResponse/params/param/value/string/text()').getclobval(),1);
    apex_collection.update_member_attribute(
    p_collection_name => 'PASSWORDRESULT',
    p_seq => '1',
    p_clob_number => '1',
    p_clob_value => l_val );
    end;
    if I try to run the page at this point I get the error ORA-30625: method dispatch on NULL SELF argument is disallowed
    what I think is happening, from what I've read up on, is that the collection is empty?
    so I'm trying to find out if the web service is not populating the collection correctly or have I made a mistake in the above syntax & trying to reference the collection incorrectly.
    Is there a way I can query the collection using TOAD?
    Edited by: Mr JD on 21-Jul-2010 08:38

    ok so found the collection but when I invoke the web service the collection record is not populated. I've tested the webservice & a result is returned but for some reason when I either run the test or run the page which invokes the web service as a page render process the collection is still not populated.....
    what I'm I missing here as the setup of the web service is pretty straight forward & testing the web service does produce a result within the test window

  • RFC function as a Web service - how to make wsdl type names unique

    Hello,
    We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.
    There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).
    The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.
    So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.
    It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.
    Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?
    Thanks.
    Sandra
    Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

    Thanks.
    But the question is more about the fact that we may name a type as we want, SAP does not check (VAGResult in the screen capture below, which becomes <complexType name="VAGResult"... in the WSDL). It may be the same name as a type in another Web Service, both types may have completely different structures. It's a problem from a "philosophical" perspective, as these types share the same namespace "urn:sap-com:document:sap:rfc:functions"; the client software doesn't accept that, we have to rename it; I'd like to know whether SAP proposes a way to prevent choosing a name if it's already chosen for another type of different content.

  • How to access HttpRequest Object from Axis web service?

    Hi all,
    I have Axis web service named shoppingcartService,
    and i have ShoppingCartImpl as implemention class which
    implements passfamily() method
    When client access my web service, ShoppingCartImpl's passFamily method is executed.
    I have one more servlet under my axis web application which implements business logic.
    problem is that i want to call/invoke this servlet from passfamily method of ShopingCartImpl class.
    So how can i call/invoke servlet from passFamily method of ShoppingCartImpl class ?
    (All stuff is under Axis web application under Tomcat).

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • Sun Java Studio Enterprise 8 naming Web Service parameters

    I have a Web Service "hello" with operation "sayHello", which has one parameter "String name". When I build the project and look into the WSDL created I see that Studio named this parameter String_1. Why? And how can I make it name it correctly? (I know I can edit the WSDL manually, but...)

    is it possible for windows xp? because when i was downloading it gives two platform - linux and solaries and there is no option for windows at the time of downloading. please help me so that i can download this easily.

  • How to import a web service into labview and make the assembly strong named signed?

    I have used the web services tool to import my .net project files. I am then putting them into clearcase. In order for my dll's to work on a network im getting the error that they need to strong named signed. Is there anyway of strong name signing them with in the web services tool, or modifying the dll's after they've been created? Thanks for any help!

    dbell0971,
    I appreciate your willilngness to help on this issue.  However, it doesn't seem like we are on the same page here.
    When you import a webservice it creates an assembly.  That assembly is .NET.  In general you cannot run an assembly on a shared drive unless it is "trusted".  You can make the assembly trusted by adding some classes and properties to it (i.e. strong signing it)- http://msdn.microsoft.com/en-us/library/xc31ft41.a​spx
    However, since WE are not creating the assembly, LabVIEW is, then we don't have the source code so we can't just strong sign it. 
    The question is simple- Can the Import Web Service Utility strong sign the assembly it creates?
    Thanks,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Web Services configuration vs. SVN conflicts

    Hi All,
    I've got a problem with using amf php services and svn in my project. The problem exist when i use wizard to configurating web service connection -> Data/Services section in ZendStudio 8.0.0. Many files are autogenerated and the problem is with project.fml file ... this file contains all web service references that are autogenerated when (for example) I add a new method using Data/Services wizard. The fml file is generating randomly and then i have many conflicts that are impossible to resolve. Is there any way to configure this wizard (or don't using this wizard and testing WebService methods in another way)? This fml file must be under version control because contains all web service references (web service, method of web service, input types, return types and all). Solve for example:
    1) is there any way to configure this fml file so as not to hold all the web service references in one file?
    2) better configuring web service references in project and not using a Data/Services wizard?
    Thanks for any help.

    Hello,
    Can you send me the client and server code at tugdual[dot]grall[at]oracle[dot]com ?
    regards
    Tugdual Grall

  • Can you publish the sample Named Entity Recognition experiment as a web service?

    I've created a new experiment using the Named Entity Recognition sample, ran, prepared as a web service using the new tool,   and published as a web service.
    When I try the 'Test' option on the web service dashboard, this results in an error:
    "Unable to finish 'Named Entity Recognition' test. Execution encountered an internal error."
    The same happened yesterday with the old way of publishing as a web service (setting a publish input and output), and if I added an additional project columns module after the NER module and set this as the publish output.
    Does anyone have any ideas what the problem might be? Is it not possible to use the NER module as if it were a trained model?
    (I'm probably missing something obvious!)

    Hi Alice,
    The service has been updated and the module should be fixed.  Sorry for the inconvenience.  Please let us know if you encounter any other issues.
    Thank you, Ilya

  • Java class namespace conflict between two Web services

    We have been asked to develop a client that can call two different versions of a live Web service. Unfortunately the people who developed the services that we have to call used overlapping namespaces when they created the new version. We are using the Java 6 JDK Web Services stack. We have generated the classes for our 2 clients using wsimport and include them on our classpath in two separate jars. Of course this should never happen because you should never have two different objects sharing the same namespace. We don't control the service though, so can't change things there. Is there some way for us to remap to objects in a different namespace for one of the services. Any help would be much appreciated, even if it's just to say that this is not possible.
    James

    did you try specifying a different package when you run wsimport?
    also, if you can't find a jaxws solution, you can always load each webservice jar in a separate classloader in your application and run your webservice access code from these separate classloaders.

  • Creating And Deploying A JWSDP Web Service Client to Weblogic 8.1

    This setup produces an EAR containing a message driven bean in a jar file. When the MDB receives a message
    it checks to see if there is any data in a database table and if so calls the web service with that data. These instructions
    are for MS-Windows environments.
    In my setup I have:
    the weblogic domain at c:\b2b80
    the jwsdp at c:\apps\jwsdp-1.3
    extra jar files for the app server in c:\b2b80\lib
    the main weblogic installation at c:\apps\weblogic810\
    1> Download the the JWSDP version you wish to use and install it. (In this example I'm using 1.3)
    2> Create a project structure for you client like this:
         /project
              /earbuild
                   /META-INF
              /ejbbuild
                   /META-INF
              /ejbsource
              /wssource
    3> in the /project directory you will need a build.xml file that looks something like this: (the ant build targets are described at the end of this document)
    ==============================================================
    <?xml version="1.0"?>
    <project name="svcowner" default="buildall" basedir=".">
         <property file="classpath.settings"/>
         <property name="wssource" value="wssource"/>
         <property name="ejbsource" value="ejbsource"/>
         <property name="compileejbdest" value="ejbbuild"/>
         <property name="earbuilddest" value="earbuild"/>
         <property name="jarfilename" value="svcownerejb.jar"/>
         <property name="earfilename" value="svcowner.ear"/>
         <property name="debug" value="true"/>
         <property name="deprecation" value="true"/>
         <!-- this runs the create.bat which has all of the wscompile parameters -->
         <target name="cmdline_wscompile">
              <exec executable="wssource/create.bat"/>
         </target>
         <target name="compileejb" depends="cmdline_wscompile">
              <javac debug="${debug}" srcdir="${wssource}" classpath="${BUILD_CLASSPATH}"
                   destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
              <javac debug="${debug}" srcdir="${ejbsource}" classpath="${BUILD_CLASSPATH}"
                   destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
         </target>
         <target name="buildejbjar" depends="compileejb">
              <jar jarfile="${earbuilddest}/${jarfilename}" manifest="${compileejbdest}/META-INF/MANIFEST.txt">
                   <fileset dir="${compileejbdest}">
                        <include name="**/*.*"/>
                   </fileset>
              </jar>
         </target>
         <target name="buildear" depends="buildejbjar">
              <jar jarfile="${earfilename}">
                   <fileset dir="${earbuilddest}">
                        <include name="**/*.*"/>
                   </fileset>
              </jar>
         </target>
         <target name="deploy">
              <copy file="${earfilename}" todir="../../config/domain/applications"/>
         </target>
         <target name="buildall" description="build everything" depends="buildear, deploy">
         </target>
    </project>
    ==============================================================
    4> You need a matching classpath.settings file in the same directory, something like this:
    ==============================================================
    BUILD_CLASSPATH=/b2b80/lib/saaj-impl.jar;/b2b80/lib/saaj-api.jar;/b2b80/lib/jaxrpc-api.jar;/b2b80/lib/jaxrpc-impl.jar;c:/b2b80/lib/jaxrpc-spi.jar/b2b80/classes/;/b2b80/classes;/apps/weblogic810/server/lib/weblogic.jar;/apps/weblogic810/server/lib/weblogic_sp.jar;/apps/weblogic810/server/lib/xmlx.jar;/apps/weblogic810/server/ext/weblogic-tags.jar;/apps/weblogic810/server/ext/jdbc/oracle/920/ojdbc14_g.jar;/b2b80/lib/log4j.jar
    ==============================================================
    5> In the /project/earbuild/META-INF directory you need an application.xml file:
    ==============================================================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
    <application>
    <display-name>svcownerb2b</display-name>
    <description>Application description</description>
    <module>
    <ejb>svcownerejb.jar</ejb>
    </module>
    </application>
    ==============================================================
    6> The /project/ejbsource directory contains the source for the client application. In my case this is a message driven bean (note that code below isn't complete). The most important part of the code below is the setting of the javax.xml.soap.MessageFactory system property.
    System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
    If you don't do this a weblogic class will be used and the code will fail.
    ==============================================================
    package com.svcclient.ejb.svcownershipment;
    import java.text.*;
    import java.io.*;
    import java.sql.*;
    import java.util.Properties;
    import javax.ejb.*;
    import javax.jms.*;
    import javax.naming.*;
    import javax.sql.DataSource;
    import com.svcclient.util.*;
    import org.w3c.dom.*;
    import com.svcclient.websvc.svcowner.*;
    import javax.xml.rpc.Stub;
    public class SvcOwnerShipmentSubscriberMDB implements MessageDrivenBean, MessageListener
    private transient MessageDrivenContext mdc = null;
    private static Context context;
    private final static String CLASSNAME = "SvcOwnerShipmentSubscriberMDB";
    private String DATASOURCE_JNDI = "svcclient.b2b";
    private static DataSource mDS = null;
    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    public SvcOwnerShipmentSubscriberMDB()
    System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
    try
    if (context == null)
    context = new InitialContext() ;
    if (mDS == null)
    mDS = (DataSource)context.lookup(DATASOURCE_JNDI);
    catch (NamingException ex)
    ex.printStackTrace();
    catch(Exception ex)
    ex.printStackTrace();
    public void onMessage(javax.jms.Message message)
    TextMessage msg = null;
    String ordernumber = null;
    String lineid = null;
    try
    if (message instanceof TextMessage)
    msg = (TextMessage) message;
    ordernumber = msg.getStringProperty("ordernumber");
                   // the JMS message contains a property that is an order number
    createAndSendXML(ordernumber);
    catch (Throwable ex)
    ex.printStackTrace();
    private void createAndSendXML(String ordernumber)
    if(ordernumber==null)
    return;
    PreparedStatement statement = null;
    ResultSet rset = null;
    java.sql.Connection conn = null;
    try
    conn = DBHelper.getConnection(mDS,"SvcOwnerShipmentSubscriberMDB.createAndSendXML");
    statement = conn.prepareStatement("select * from ..."); // you SQL here
    statement.setString(1,ordernumber);
    rset = statement.executeQuery();
    StringBuffer data = new StringBuffer();
    data.append("<? version=\"1.0\"?>\n");
    data.append("<shippingRequest>\n");
    while(rset.next())
    data.append("\t<order_date>"+dateFormat.format(new java.util.Date(rset.getTimestamp("SCHEDULE_SHIP_DATE").getDate()))+"</order_date>\n");
    data.append("\t<brand_name>svcclient</brand_name>\n");
    data.append("\t<shipRequestType>Sale</shipRequestType>\n");
    data.append("</shippingRequest>\n");
              // call the web service with the data from the database
    DataExchanger_Impl impl = new DataExchanger_Impl();
    Stub stub = (Stub)(impl.getDataExchangerSoap());
    DataExchangerSoap dx = (DataExchangerSoap)stub;
    String resp = dx.exchangeData("svcclient", "mypassword", "Sales", data.toString());
    catch(SQLException sqle)
    sqle.printStackTrace();
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    if (rset != null)
    rset.close();
    if (statement != null)
    statement.close();
    if (conn != null)
    conn.close();
    catch(Exception x){}
    public void ejbCreate() { System.out.println("In SvcOwnerShipmentSubscriberMDB.ejbCreate()"); }
    public void setMessageDrivenContext(MessageDrivenContext mdc) { this.mdc = mdc; }
    public void ejbRemove() throws javax.ejb.EJBException { System.out.println("In SvcOwnerShipmentSubscriberMDB.remove()"); }
    ==============================================================
    7> The /project/ejbbuild/META-INF directory needs a MANIFEST.txt file.
    Manifest-Version: 1.0
    8> The /project/ejbbuild/META-INF directory needs a ejb-jar.xml file. This just sets up the MDB which is the client.
    ==============================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>SvcOwnerShipmentSubscriberMDB</display-name>
    <enterprise-beans>
    <message-driven>
    <display-name>SvcOwnerShipmentSubscriberMDB</display-name>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <ejb-class>com.svcclient.ejb.svcownershipment.SvcOwnerShipmentSubscriberMDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>NonDurable</subscription-durability>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <method-name>onMessage</method-name>
    <method-params>
    <method-param>javax.jms.Message</method-param>
    </method-params>
    </method>
    <trans-attribute>NotSupported</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ==============================================================
    9> The /project/ejbbuild/META-INF directory needs a weblogic-ejb-jar.xml file.
    ==============================================================
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>5</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <!-- JNDI Name of the Topic that the SvcOwnerShipmentSubscriberMDB listens for messages on -->
    <destination-jndi-name>jms.svcownerShipmentsTopic</destination-jndi-name>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ==============================================================
    10> The /project/wssource directory needs a dataexchange.wsdl file. This is the WSDL describing the web service
    we want to connect to with our client.
    ==============================================================
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="https://www.svcowner.com/mfg/DataExchange/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    targetNamespace="https://www.svcowner.com/mfg/DataExchange/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    name="">
    <wsdl:types>
    <s:schema elementFormDefault="qualified"
    targetNamespace="https://www.svcowner.com/mfg/DataExchange/">
    <s:element name="exchangeData">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="sender" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="transactionType" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="data" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="exchangeDataResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="exchangeDataResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="exchangeDataSoapIn">
    <wsdl:part name="parameters" element="tns:exchangeData" />
    </wsdl:message>
    <wsdl:message name="exchangeDataSoapOut">
    <wsdl:part name="parameters" element="tns:exchangeDataResponse" />
    </wsdl:message>
    <wsdl:portType name="DataExchangerSoap">
    <wsdl:operation name="exchangeData">
    <wsdl:input message="tns:exchangeDataSoapIn" />
    <wsdl:output message="tns:exchangeDataSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DataExchangerSoap" type="tns:DataExchangerSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="exchangeData">
    <soap:operation soapAction="https://www.svcowner.com/mfg/DataExchange/exchangeData"
    style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="DataExchanger">
    <wsdl:port name="DataExchangerSoap" binding="tns:DataExchangerSoap">
    <soap:address location="https://svc.svcowner.com/mfg/dataexchange.php" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    ==============================================================
    10> The /project/wssource directory needs a websvc_config.xml file. This file tells wscompile where
    to find the WSDL file and the package name for the generated classes.
    ==============================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
         <wsdl location="wssource/dataexchange.wsdl" packageName="com.svcclient.websvc.svcowner"/>
    </configuration>
    ==============================================================
    11> The /project/wssource directory needs a create.bat file. This just sets up the environment
    and calls the wscompile batch file in the JWSDP. I had to tweak the wscompile.bat file to match
    my environment as well.
    ==============================================================
    SETLOCAL
    SET WSDP=C:\apps\jwsdp-1.3\
    SET ANT_HOME=%WSDP%;apache-ant
    SET PATH=%ANT_HOME%\bin;%WSDP%jaxrpc\bin;%PATH%
    SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
    call wscompile -gen:client -s ./wssource -keep -g -d ejbbuild wssource/websvc_config.xml
    ==============================================================
    12> The /project directory needs a build.bat file. Just a way for me to make sure my
    environment is set up right before doing the build.
    ==============================================================
    SETLOCAL
    SET ANT_HOME=c:\apps\jakarta-ant-1.4.1
    SET PATH=%ANT_HOME%\bin;%PATH%
    SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
    call ant -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
    ==============================================================
    13> You need to copy the following jar files from the JWSDP into a location they can be used by the
    app server during run time and also for the build process. In my set up this is c:\b2b80\lib. Note that
    these are pointed to by the file in step 4.
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-impl.jar
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-spi.jar
    c:\apps\jwsdp-1.3\saaj\lib\saaj-api.jar
    c:\apps\jwsdp-1.3\saaj\lib\saaj-impl.jar
    14> You must make sure that the jar file in step 13 are at the front of the classpath for the
    weblogic server. WL comes with classes that conflict with these jars.
    15> I also had to add the root ssl certificate from the partners certificate authority to the java keystore
    using the keytool because this service uses SSL:
    C:\apps\weblogic810\jrockit81sp2_141_05\jre\bin>keytool -import -keystore ..\lib\security\cacerts -alias svcownerroot -keypass password -file c:\temp\svcownerroot.cer
    ==============================================================
    So the idea is this, you run the /project/build.bat file from within the /project directory. This
    calls ant which uses the build.xml file to create everything and copy the EAR to the weblogic deployment
    directory. The default ant target is buildall.
    The cmdline_wscompile target runs the /project/wssource/create.bat file which in turn runs the wscompile.bat
    file from the jwsdp. This causes the dataexchange.wsdl file to processed and the client files to be generated.
    The generated java files go into the /project/wssource directory. The generated class files go into the
    /project/ejbbuild directory. They need to be there so the MDB can use them.
    Next the compileejb ant target compiles the MDB java file and places the resulting class file into the
    /project/ejbbuild directory.
    Next the buildejbjar ant target takes everything in the /project/ejbbuild directory and creates the ejb jar
    file that will be included in the EAR. This file is placed in the /project/earbuild directory.
    Finally the buildear ant target takes everything in the /project/ejbbuild directory and produces the EAR
    file for deployment. The EAR file is placed in the /project directory.
    The deploy task simply copies the EAR file into the weblogic domain applications directory.

    It's really the web service that determines what kind of authentication is required. You can't just use any old strategy. If the web service isn't expecting it in that form, it won't work. Typically, either HTTP BASIC Auth or WS-Security is used. You'd have to contact the people responsible for the web service to know what kind of auth it requires.

  • Web Service Import Error - Can't Create Project Library

    Hello,
    I'm haiving an issue importing a particular .NET web service using the import wizard.  I'm running .NET 2.0 framework and LV8.2.  I have followed this tutorial and successfully got a few simple services working.  I can successfully import an use simple web services like this one with no issues, but when I attempt to import a local web service I keep experienceing the same error at the end of the import, the error is:
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Can't Create Project Library.
    Project Library Generation Failed.
    Possible Reasons:
    1) The imported project library has a conflicting name with a project library already in memory.
    2) The imported VIs have conflicting names with VIs already in memory.
    Close the project library and VIs and reimport the Web Service.
    ionService.lvlib
    I seriously doubt that the error is actually caused by 1 or 2, I think this is just the default message for some other error.  I have cleaned all previous failed projects from the userlibs and opened and closed the program, restarted etc...  I have also tried this and got the same error with another machine running .NET 1.1 and LV8.2, same error.
    The service's WSDL page seems to be working correctly, LV sees the availble functions and lists them correctly for import, it just always fails when creating the DLL wrappers.
    I have included the WDSL XML file for reference.
    Anyone have any ideas for fixing this?
    Thanks,
    Adam
    Message Edited by ajckson on 05-20-2008 04:27 PM
    Attachments:
    WSDL - XML.zip ‏2 KB

    Hi Adam,
    Some of the functions in your project library may have the same names as some of the inbuilt functions in LabVIEW or any loaded functions in the memory.
    Try closing down all other programs and see if it works.
    What are the names of the functions you are using?
    You may have to rename them to remove the naming conflict, but you did mention that you don’t think that it’s because of one of those reflected conflicts!!
    SubVIs being generated may have the same name as some LabVIEW inbuilt functions which may be causing the problem.
    Could you please provide the header file to see the names of the functions?
    Hopefully this helps!!
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Book Module Error "Could not contact the Blurb Web Service"???

    I have successfully used Lightroom in the past to upload a book with no problems. I'm currently running the most updated version of Lightroom v 5.6. I've just finished a new book and am getting the error message "Could not contact the Blurb Web Service. Check your internet connection." My internet connection is fine, my firewalls and anti-virus are turned off, I've restarted both Lightroom and my computer. Same problem.
    My research has shown this is a very common problem, but all the forums I've found do not have answers on how to solve the problem. All the posts I've found about this problem are either unanswered or suggest things like turning off and turning back on "unchecking apply background globally" and other tips related to the background and text, or change the cover style back and forth, etc. None of these has worked for me.
    I am ordering this book as a wedding album for a client and it is URGENT that I get the order uploaded within the next few days or I'm going to have to refund the clients' payment and lose the job, which would be extremely professionally embarrassing. I'm VERY frustrated and have very eager customers waiting. PLEASE HELP ASAP!!!
    Janine Fugere
    As Seen by Janine
    www.asseenbyjanine.com

    I solved the Lightroom Book Module problem of "Could not contact Blurb Web Service. Please check your internet connection."
    With the help of Adobe Lightroom's telephone tech support, a very patient man named Himanshu helped me discover what was causing this issue, after researching the issue and calling me back. Nice touch Adobe! It was pleasant to be able to do other things while Himashu researched and consulted with other techs to find my solution.
    As very many other people have reported in user forums, the problem was not that I didn't have an Internet connection.
    The problem was caused by my PC's Windows 8 User Account Settings, which somehow had Internet Settings that conflict with the upload to Blurb from Lightroom. The Adobe Lightroom tech support person helped me create a new user account, and I am able to successfully upload to Blurb from Lightroom under the new account. We created a quick test book to try and it worked just fine under the new user account.
    Not sure how this solution would translate for a MAC user (I've read of people with Mac computers getting the same upload error) but I advise checking your User Account's Internet Settings, whatever type of computer you are using.
    The only minor glitch I still have is that my new Windows user account can't access any of my photo files (or any other files) from my old user account, even when I gave the new user account administrator access. I have a very large internal hard drive, so my photos & catalog are stored internally. The Lightroom tech support advised me to contact Lenovo (my computer manufacturer) for help to transfer all my files from my original user account to the new one I just created. I will do that very soon.
    Meanwhile, my temporary workaround was to export my Lightroom Catalog and the photos I needed for this book onto an external hard drive, so I could access them from the new user account. My wedding clients' book has been successfully uploaded to Blurb!
    I'm sharing so others with this problem uploading from Lightroom to Blurb may also find this solution works for them, too.

  • Problems using the Java API inside a Web Service

    Hi,
    after I've built a standalone Java RMI client, using the API, I wanted to use the same code in a Web Service I've built and deployed in tomcat (jwsdp-1.3). But i ran into a few problems..
    - although I have the exact same code in both programs, the one in the web service simply blocks when I initiate the Locator class (see above...);
    - all the .jar's that I use in the client are deployed in the WEB-IF/lib of the web service directory on tomcat;
    - no exceptions are thrown in tomcat, so i don't know what's going on;
    Is there any specific configuration for the API to run on tomcat?
    Could it be that the .jar's needed by the Locator class may have some kind of conflict with the ones in tomcat?
    Thanks...
    Note: The code on the client is totaly stable and fully operational.
    The web service uses java.rmi.Remote (extends Remote).
    Here's part of the code:
    Properties env = new Properties();
    env.setProperty("orabpel.platform", "oc4j_10g");
    env.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    env.setProperty("java.naming.provider.url","ormi://dellpc05/orabpel");
    env.setProperty("java.naming.security.principal","admin");
    env.setProperty("java.naming.security.credentials","welcome");
    Locator locator = new Locator("default", "bpel", env);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    (...)

    I've put a
    try{Locator...}
    }catch(Throwable t) {
    System.out.println(t.getMessage());
    t.printStackTrace();
    around the Locator..
    I still don't know why it's throwing this...
    Here's what it gets:
    before Locator
    javax/jms/JMSException
    java.lang.NoClassDefFoundError: javax/jms/JMSException
         at com.evermind.server.ThreadState.getCurrentState(ThreadState.java:206)
         at com.evermind.server.rmi.RMIConnection.checkServletCaller(RMIConnection.java:3448)
         at com.evermind.server.rmi.RMIConnection.<init>(RMIConnection.java:181)
         at com.evermind.server.rmi.RMIServer.addNode(RMIServer.java:856)
         at com.evermind.server.rmi.RMIServer.getConnection(RMIServer.java:953)
         at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:309)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.collaxa.cube.util.CXBeanRegistry.lookupDomainManagerBean(CXBeanRegistry.java:205)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:84)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:120)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:91)
         at dmc.tm.resultprovider.ResultProviderImpl$ResultProviderThread.taskTimeoutExceeded(ResultProviderImpl.java:231)
         at dmc.tm.resultprovider.ResultProviderImpl$ResultProviderThread.run(ResultProviderImpl.java:160)

Maybe you are looking for