XSD Files Externally defined - WEBLOGIC 8.1

Hi, i have a problem, and i need your help..
I have been designing a service, that refers to a xsd file externally defined..
here are wsdl the example:
<wsdl:definitions .....
<wsdl:types>
<s:import namespace="http://empresa.com.ar/201006/01/AgentesServices" schemaLocation="http://www.empresa.com.ar/exquema.xsd"/>
</wsdl:types>
wsdl:definitions >
i had to add these lines to an ant file:
<xmlbean
download="true"
... />
it's because i had a "network downloads disabled" error when i tried to compile without ant
it's works perfectly in the workshop, and when i uploaded this application to my server too, but when i tried to put the url of my service into explorer, I obtained the following error:
"An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:null "
i supose that it's a error related to "network downloads disabled"
Sorry for my english, i hope you understand me and can help me

First off, I generally recommend that people not put anything in the
server's classpath. If that can't be avoided, then it's a good practice
to put the minimal set of jars in the classpath.
What exactly are you deploying? Is it an EAR, WAR, ejb-jar ...?
Personally I'd recommend that you deploy an exploded EAR without putting
jars in the classpath.
-- Rob
Van wrote:
Hi All!
I am trying to upgrade to 8.1 from 6.1. Our applications currrently run in exploded
format with all the jars in the main system classpath. No EAR. When I try to upgrade
to 8.1, weblogic seems to want to EAR the exploded files into the 'applications/.wlnotdelete'
directory before it deploys them.
This process takes atleast 15minutes of startup time. Can anyone tell me how to
avoid this from happening? Why is it trying to EAR my files?
Thanks in advance.
Van

Similar Messages

  • "Connection Interruped" frequently while importing xsd into External Defini

    Hi All,
      Whenever I try to create a new External Definition and try to import an XSD into it from my local system or share drive the connection gets interrupted. Afterthat even I provide right credentials I am not able to log into the server successfully.
    I am able to successfully create other objects but only when I am importing an XSD into External Definition I am getting this issue.
    If anyone came across similar situation earlier and were able to overcome this please let me know how to handle this situation.
    Thanks in advance.
    Regards,
    Sarat

    Hi Sarat,
    Are you getting any error message ? If so what is the error message?
    This is weird one which I never heard.
    Check SAP Note: 1255351
    Thanks,

  • Error while loading xsd as external defination in IR

    Hi,
    When I try to create external definition from XSD,
    it gives following error
    "ORA-01652: unable to extend temp segment by 128 in tablespace PSAPTEMP"
    This happens when I try to save any XSD.I am sure there is no problem with XSD.
    Did anyone come accross this problem?
    Thanks
    Sachin K

    As said by Arun it is an issue with internal oracle tables.
    See this note : 1186364
    Here is the encapsulated details of the above sap note :
    Symptom
    Siebel GDQL
    Siebel GDQL 2.11c
    Siebel GDQL 2.00c
    ORA-01652
    Unable to extend temp segment by 128 in tablespace TEMP '
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP '
    ActivateInputFields::ExecuteQuery Failure. Msg: 'An error has occurred executing a Sql statement.
    Error: ActivateInputFields::ExecuteQuery Failure. Msg: 'An error has occurred executing a Sql statement. Please continue or ask your systems administrator to check your application configuration if the problem persists.
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP '
    Resolution
    This is an Oracle error. The TEMP tablespace will need to be increased (change the file name and size as appropriate.)
    For example: The SQL command to do that will look similar to:
    alter database datafile 'e:\oracle\oradata\hor7\siebel_temp.dbf' resize 2000M;
    Thanks
    farooq.

  • How to validate the XSD files in Weblogic

    Hi,
    i want to validate a xsd file in the weblogic. if anyone give me a solution then i'll greet u.

    Can you give some more details? Are you talking about doing this in your code? Or, do you want to validate the XSD deployment descriptors before you deploy an application?
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • External defination help

    Hello everyone,
    i have a requirement to convert CSV file to XML file, i am almost done with the interface, but i have a small issue.
    My trading partner want one of the target node as shown below
    LUCENT.ACKNOWLEDGE_DELIVERY_001.INVDETAIL.USERAREA
    the problem is PI does not accept any symbols like .+-
    to deal with this i have approached the below process suggested by one of our friend on SDN
    1. Create your data type, (without dots) in PI
    2. Export the XSD
    3. Add dot to all the fields which you need
    4. Import it back as a XSD (external definition)
    5. You have now dots in the required fields
    i have imported the XSD as external defination but dont know how to use it as Data Type, can any one please help me out.

    Yes, you can use it.
    It actually is your Message Type. It is similar like your BAPI or IDoc that you import and directly use them in message mapping/interface defining.
    Similarly you can use it as Messag type.
    If you want to edit your XSD, open the XSD file in third party tools like XML Spy, notepad(not user friendly).., and re-import it back!
    Regards
    Ramesh

  • Use of externally-defined/ in weblogic-ejb-jar.xml

    I am trying to use Global Roles defined via the Weblogic console to control access to EJB methods.
    I am using the <externally-defined/> tag in security role assignments, however when I deploy to Weblogic I get the following error :
    <8/09/2004 04:21:42 PM GMT+10:00> <Error> <Deployer> <BEA-149205> <Failed to initialize the application appsdirmars-marketdata_ear due to error weblogic.manag
    ement.ApplicationException: Prepare failed. Task Id = null
    Module Name: ejb-marketdata.jar, Error: [EJB:011024]The XML parser encountered an error in your deployment descriptor. Please ensure that your deployment descriptor corresponds to the format in the DTD. The error was:
    Error parsing file 'META-INF/weblogic-ejb-jar.xml' at line: 51 column: 26. Element type "externally-defined" must be declared..
    at weblogic.j2ee.J2EEApplicationContainer.checkForErrors(J2EEApplication
    Container.java:1612)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1207)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1051)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:823)
    at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(Sl
    aveDeployer.java:2925)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications
    (SlaveDeployer.java:967)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:349)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)
    I am running Weblogic 8.1 SP3 on Windows XP Pro.
    The XML is valid for the specified DTD according to my XML editor.
    The relevevant fragment from weblogic-ejb-jar.xml is included below.
    Any help much appreciated.
    Gavin.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <security-role-assignment>
    <role-name>MarsAdmin</role-name>
    <externally-defined/>
    </security-role-assignment>
    <security-role-assignment>
    <role-name>MarsViewer</role-name>
    <externally-defined/>
    </security-role-assignment>
    </weblogic-ejb-jar>

    I tried using the <global-role/> tag instead - this does deploy without any errors - but when I call the secure EJB method I get the Security Violation error below.
    The DTD says using the <global-role/> tag is fine, albeit deprecated, but the Weblogic 8.1 manual says this has been replaced by <externally-defined/>, so I'm not sure if this should work or not.
    [EJB:010160]Security Violation: User: 'ghughes' has insufficient permission to access EJB: type=<ejb>, application=_appsdir_mars-marketdata_ear, module=ejb-marketdata.jar, ejb=marketdata.MarketDataManager, method=getEnergyOverview, methodInterface=Remote, signature={java.util.Date}.
    So on the whole I'd prefer to work out why Weblogic isn't recognising <externally-defined/> - I've included the full deployment descriptor below - I'm generating it using the latest snapshot of XDoclet - is the DTD specified correct for Weblogic 8.1 SP3 ? (It matches the one specified in http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html - but I can't think of anything else that could be wrong).
    Any tips much appreciated as I need to enable an administrator to customise these roles at runtime rather than hard-coding the role - group mappings into the deployment descriptors.
    Thanks,
    Gavin.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <description><![CDATA[Generated by XDoclet]]></description>
    <weblogic-enterprise-bean>
    <ejb-name>marketdata.MarketDataManager</ejb-name>
    <stateless-session-descriptor>
    </stateless-session-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <jndi-name>marketdata.MarketDataManager</jndi-name>
    <local-jndi-name>marketdata.MarketDataManagerLocal</local-jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>marketdata.MessageManager</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>
    <destination-jndi-name>FileTopic</destination-jndi-name>
    <connection-factory-jndi-name>JMSConnectionFactory</connection-factory-jndi-name>
    <jms-polling-interval-seconds>10</jms-polling-interval-seconds>
    <jms-client-id>1</jms-client-id>
    </message-driven-descriptor>
    <transaction-descriptor>
    <trans-timeout-seconds>10</trans-timeout-seconds>
    </transaction-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    </weblogic-enterprise-bean>
    <!--
    To add enterprise beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called weblogic-enterprise-beans.xml that contains
    the <weblogic-enterprise-bean></weblogic-enterprise-bean> markup for those beans.
    -->
    <!-- xdoclet merge file -> weblogic-ejb-jar.xml -->
    <security-role-assignment>
    <role-name>MarsAdmin</role-name>
    <externally-defined/>
    </security-role-assignment>
    <security-role-assignment>
    <role-name>MarsViewer</role-name>
    <externally-defined/>
    </security-role-assignment>
    <idempotent-methods>
    </idempotent-methods>
    </weblogic-ejb-jar>
    Message was edited by [email protected] at Sep 8, 2004 8:45 PM

  • "Messages" problem after importing .xsd file as external definition

    Hello,
    I received an .xsd file from a customer and need to import it as an "External Definition" in order to create the "Message Interface". The structure of the xsd looks like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:px="http://www.opentrans.org/XMLSchema/1.0" targetNamespace="http://www.opentrans.org/XMLSchema/1.0" elementFormDefault="qualified">
    <xsd:element name="ORDER">
    </xsd:element>
    <xsd:element name="ADDRESS">
    </xsd:element>
    <xsd:element name="ARTICLE_ID">
    </xsd:element>
    </xsd:schema>
    After importing and looking at the tab "Messages" I get numerous entries, for each <xsd:element> I get one message! But I basically only need one "Message" that holds my complete xsd-file.
    I tried inserting <xsd:element name="COMPLETEORDER"> right after the <xsd:schema>-Tag but that didn't work either. Somehow I need to sum up all the <xsd:elements>.
    Does anyone have an idea? Thank you very much!
    Peter

    Hello Prateek, Hello everyone,
    I now know what the problem is. I downloaded XMLspy and checked on the structure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:px="http://www.opentrans.org/XMLSchema/1.0" targetNamespace="http://www.opentrans.org/XMLSchema/1.0" elementFormDefault="qualified">
    <xsd:element name="ORDER">
    </xsd:element>
    <xsd:element name="ADDRESS">
    </xsd:element>
    <xsd:element name="ARTICLE_ID">
    </xsd:element>
    <xsd:simpleType name="dtBOOLEAN">
    </xsd:simpleType>
    <xsd:simpleType name="dtCOUNTRIES">
    </xsd:simpleType>
    <xsd:element name="SUPPLIER_AID">
    </xsd:element>
    <xsd:simpleType name="typeSUPPLIER_AID">
    </xsd:simpleType>
    </xsd:schema>
    Between the long list of <xsd:element> tags there are some simpleTypes on the same
    level. Now if I insert
    <xsd:element name="COMPLETEORDER">
    <xsd:complexType>
    <xsd:sequence>
    on top, the <xsd:sequence> would be on the same level as the simpleTypes - which is not valid!
    But can I just move all the simpleTypes, e.g. into an <xsd:element>??
    That would be changing the customer's structure which I think is not a good thing!?
    Thank you again for your help! I really appreciate it!
    Best regards,
    Peter

  • External dependency on remote dtd and xsd files

    The question bugs me for years, please help.
    Should we download external dtd and xsd files declared for web.xml and faces-config.xml and pack them in the war files to eliminate the external dependency.
    e.g.
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
    http://java.sun.com/dtd/web-facesconfig_1_0.dtd
    Thanks

    Hi Srikanth,
    Have you done this?
    SAP HELP
    <i>You want to import an XSD document myMessage to the Integration Repository; this document references three other XSD documents myStr1, myStr2, and myStr3 by using the <include> statement. One option is to first import myMessage. The External References tab page then shows that three documents are referenced and that these documents are not yet in the Integration Repository.  Next, create further external definitions for myStr1, myStr2, and myStr3 in the same namespace and specify the source for each of these documents. If the source is not contained in the document itself, you will find it in the referencing document. If you refresh the display of the external definition for myMessage, the External References tab page shows that the documents have been found in the Integration Repository. You can then navigate to the other referenced external definitions in the Integration Repository by double clicking.</i>
    Also, try activating just in case you haven't.
    Regards
    Vijaya

  • Formating WSDL  SOAP  message using external .xsd file

    Hi,
    I am trying to build web service from java method using xml schema in .xsd file to format soap messages. How can I do this? What steps should I take to accomplish this?
    When I tried to do this using wizard for building web service, and map custom java classes to xml schema types , I got generator error: java.util.NoSuchElementException.
    When I managed to generate web service using that custom mappings (without generator error) , I couldn't deploy that service on server. At deploy time i alway get compile error without named source where error is....

    hI,
    How to add the the below soap frame thru XSLT mapping.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" SOAP-ENV:mustUnderstand="1" eb:version="2.0">
    <eb:From>
    <eb:PartyId>0037123456678</eb:PartyId>
    <eb:Role>Sender</eb:Role>
    </eb:From>
    <eb:From>
    <eb:PartyId>NDEAFIHH</eb:PartyId>
    <eb:Role>Intermediator</eb:Role>
    </eb:From>
    <eb:To>
    <eb:PartyId>FI2757800750155448</eb:PartyId>
    <eb:Role>Receiver</eb:Role>
    </eb:To>
    <eb:To>
    <eb:PartyId>OKOYFIHH</eb:PartyId>
    <eb:Role>Intermediator</eb:Role>
    </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId/>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
    <eb:MessageId>20081228-010142</eb:MessageId>
    <eb:Timestamp>2008-12-28T01:01:42+03:00</eb:Timestamp>
    <eb:RefToMessageId/>
    <eb:RefToMessageId>XS1027.LPTF82/268</eb:RefToMessageId>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="XS1027.LPTF82/268">
    <eb:Schema eb:location=" http://www.finvoice.info/yrityksen_verkkolasku/ladattavat/Tekniset tiedostot/schemat/Finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-15"?>
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    Thanks and Regards,
    Hymavathi

  • Configuring file realm in weblogic server 9.2

    Hi,
    I am trying to upgrade my application from weblogic 6.1 to weblogic 9.2 and I am using compatibility security.
    I have configured a RDBMS realm and then configured the caching realm giving that RDBMS realm as its Base realm.
    Now since caching realm works with file realm. I have to configure this also. Now on click of file realm tab in weblogic 9.2 throws the following error.
    java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: equals
    Caused by: java.lang.NoSuchMethodException: equals(java.lang.Object,) for com.bea:Name=CachingRealm-0,Type=CachingRealm
         at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:369)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:141)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:426)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 91 more
    Can anyone help me out?
    Thank you
    Njoy
    :-)

    You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
    You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
    See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
    Jeff

  • Creation of Server Proxy for  Message interface with External Defination

    Dear All,
    I am getting a problem while generating a server proxy for the inbound interface . The request message used in the inbound interface is a external definition which is uploaded using a XSD file. The XSD file was supplied by a third party which is having very high complex strucuture and used lot of abstract data types in the design. When i tried to generate the proxy in the R/3 system (Transaction SPROXY) for the inbound interface i am getting following error.
    Interface uses external and internal message definitions
    Message no. SPRX122 *
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    Please guide me, how to generate the proxy for the interface with external defination message. I could nt geneate manullay, because it is having very high complexity and its a big structure.
    Is there is any way to generate the proxy for interface with external definition
    Regards
    Vijayanand

    Hi,
    i.       Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
    ii.       Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
    Check this, it may help you
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
    REgards
    Seshagiri

  • Web-Service WSDL contains no messages in External Definations

    Hi All,
    I am working on IDOC->XI->Web-method scenatio.
    Web-method team has given me attached WSDL. this WSDL is not showing any message in Message Tab while uploading WSDL in External Definations Tab in IR.
    Is it possible to send data to this type of Web-method with receiver SOAP Adapter?
    Because in /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 weblog we can see messages in message tab while uploading message.
    Please help.
    Regards
    **********WSDL***********************
    <?xml version="1.0" encoding="UTF-8"?>
         <wsdl:definitions name="GE_OC_SalesOrder_Source_Services" targetNamespace="http://3.209.120.84/"
                   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                   xmlns:tns="http://3.209.120.84/">
         <wsdl:types>
            <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical" xmlns:tns="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical">
              <xsd:complexType name="__publishSalesOrderCanonicalInput">
                <xsd:sequence>
                  <xsd:element name="_x0078_mlString" nillable="true" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="__publishSalesOrderCanonicalOutput">
                <xsd:sequence>
                  <xsd:element name="status" nillable="true" type="xsd:string"/>
                  <xsd:element name="status_message" nillable="true" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:schema>
         </wsdl:types>
         <wsdl:message name="publishSalesOrderCanonicalInput">
              <wsdl:part name="_x0078_mlString" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="publishSalesOrderCanonicalOutput">
              <wsdl:part name="status" type="xsd:string"/>
              <wsdl:part name="status_message" type="xsd:string"/>
         </wsdl:message>
         <wsdl:portType name="GE_OC_SalesOrder_Source_ServicesPortType">
              <wsdl:operation name="publishSalesOrderCanonical">
                   <wsdl:input message="tns:publishSalesOrderCanonicalInput"/>
                   <wsdl:output message="tns:publishSalesOrderCanonicalOutput"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="GE_OC_SalesOrder_Source_ServicesBinding" type="tns:GE_OC_SalesOrder_Source_ServicesPortType">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="publishSalesOrderCanonical">
                   <soap:operation soapAction=""/>
                   <wsdl:input>
                        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="GE_OC_SalesOrder_Source_ServicesService">
              <wsdl:port name="GE_OC_SalesOrder_Source_ServicesPort0" binding="tns:GE_OC_SalesOrder_Source_ServicesBinding">
                   <soap:address location="http://3.209.120.84:5555/soap/rpc"/>
              </wsdl:port>
         </wsdl:service>
         </wsdl:definitions>

    Hi Stefan,
    Thanks for reply. You are true WSDL is RPC style.
    But if you Observe My WebService WSDL following lines
    <wsdl:message name="publishSalesOrderCanonicalInput">
    <wsdl:part name="_x0078_mlString" type="xsd:string"/>
    </wsdl:message>
    <b>There is only one part(field) but we wants to send 50 field XML.</b>
    If you see Note:856597 & attached WSDL in Note getQuote_rpc.wsdl following lines
    <message name="GetTradePriceInput">
    <part name="tickerSymbol" type="xsd:string"/>
    <part name="time" type="xsd:dateTime"/>
    </message>
    <b>There are two part(fields) for two XML fields as in Note.</b>
    Is it possible to Pass XML message in this type of web-service?
    If possible then How can I send?
    Please help....
    Best Regards

  • To Import XSD file along with WSDL file in ED

    Dear All,
    I am doing a scenario web service1 —XI—RFC—web service2. Web service1 sends request to XI and XI sends to RFC and RFC response to web service2 and web service2 response (acknowledge) back to XI and XI sends back to web service1.
    My client (web service2) has given me the web service (WSDL) file along with XSD file.
    In the wsdl file there are number of elements and complex types.
    <xs:element name="GetCustomer">
         <xs:complexType>
              <xs:sequence>
                   <xs:element name="authentication" type="xx:AuthInfo"/>
                   <xs:element name="CompanyName" type=" xx:AuthInfo "/>
              </xs:sequence>
         </xs:complexType>
    </xs:element>
    The type (xx:AuthInfo and xx:AuthInfo) are defined in XSD file.
    My questions are
    1)     Do I have to import the XSD file in ED or not.
    2)     How do I map this XSD
    3)     As WS1, RFC and WS2 all are synchronous MT do I have to use BPM for it.
    4)     Can some one help with any docs please..
    Thanks in advance

    Hi,
    >>Do I have to import the XSD file in ED or not
    If you are having the wSDL files then you can take the structure from there itself. Just import the wsdl files in IR. You can also use XSD.
    >>How do I map this XSD
    XSD are same as Message Types. So create a MM and choose your XSD.
    >>As WS1, RFC and WS2 all are synchronous MT do I have to use BPM for it.
    Yes you have to because you are taking the responce from RFC and going to give it to WS2.
    BPM steps:
    1) receive (open sync bridge)
    2) transformation 1
    3) send (snyc)
    4)transformation 2
    3) send (close sync bridge)
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards
    Suraj

  • When to User Extenal Refence in External Defination

    HI Guys.
         Can you please  help me How to import the XSD file and WSDL files..into XI..if they are extenal.. after createing External Defination  how should i need to imported them.. in xi.
    Regd's
    Raj

    Hi,
    Save the schema as .xsd into system. And then import the same .xsd file from local machine into External Definition by choosing type option is xsd.
    Similarly .wsdl file will be imported , by choosing the type option as wsdl.
    You can import any external xsds, or wsdl into xi.
    For more-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm
    For answering your subject , External refrence is mainly used in the Webservice structure. ie in WSDL. When you have many funtionality in the Webservice application, then there will be a an external reference for the main wsdl structure.
    Regards,
    moorthy

  • SaxParser.setProperty without a XSD file reference!

    Hi!
    I currently make modifications to existing code that find errors in XML documents. The author is using the SAX (Simple API for XML) parser. In the code, following is written:
    public void process(String xmlString, String msgType) throws Exception
    String schemaLocation;
    schemaLocation=Constants.XSD+msgType+".xsd";
    parser.setProperty("http://apache.org/xml/properties/schema/external- schemaLocation", schemaLocation);
    parser.parse(new InputSource(new StringReader(xmlString)));
    if (this.errors != null)
    throw new ValidationException(this.errors,"Schema violation(s) occured.");
    } // public void process(String, String)
    With the setProperty method, the SAXParser sets a relation between the string and the object schemaLocation, which is another string. I a guess that this information is used to access the file, as the value of this variable is
    schemaLocation = "http://<IP Address>/ezoll/V01 file:///D:\\workspace\\ecs\\WebContent\\ezollat\\schemas
    " + <msgType that defines the file name> + ".XSD"
    QUESTION:
    My problem is that the XSD file that contains the rules for the XML file is a special kind of file that should be read in only once so that access time is reduced. How is it possible to modify this such that instead of accessing over setProperty a file, some other Object that is in the memory cache should be used?
    If you do not have a direct answer to the problem, which documentation would you advise to read? I have currently access to http://xerces.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/parsers/SAXParser.html.
    I know that reading all the file in the memory is somehow "violating" the idea of SAX; it's more DOM-like. But that is the requirement from my customer.
    Thank you all for your support!

    Thank you for the hint! I have found plenty of information online about the EntityResolver interface and classes that implement it from different vendors. I think that it will solve my problem.

Maybe you are looking for

  • Problem of calling BAPI to release transport request

    Dear Friends, I want to automatically release Transport Request using BAPI (BAPI_CTREQUEST_RELEASE), but I met a difficult during the process that only TR TYPE 'K'or 'W' can be release using this BAPI, if I create an addon program which TR Type is 'S

  • Object in import-file header does not correspond to the migration object

    Hi Forum, I have loaded Business partner successfully with the file created in Workbench with test data. Now I want to load the data from Application server. But i am getting the error "Object in import-file header does not correspond to the migratio

  • Opening a color .JP2 file in Photoshop CS6 it's grayscale instead

    I have two .JP2 files that i need to open and apply an artistic filter to. When I open the files they open as grayscale instead of color which they are. Am I missing something i have not worked with JP2 files before.

  • Can't Send Mail

    Hi, In Mail, I'm unable to send e-mails using my .me account. I had the same trouble when it was .mac. I get the message: "Cannot send message using the server smtp.mac.com:jt1bates The connection to the server "smtp.mac.com" on port 25 timed out..."

  • Class not found exception for the startup class defined.

    iam using weblogic server 10 and bea jrockit 1.5.0.12. i have created a startup class in the admin console for a web project and i have deployed the war file using the console in a user defined domains, user project directory. when i start the server