Invalid soap address, unknown protocol jms

Hi, All,
I try to create a web service project based on a WSDL which soap based on JMS as following:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="AsyncBusiness"
     targetNamespace="http://www.alsb.com/AsyncBusiness/"
     xmlns="http://schemas.xmlsoap.org/wsdl/"
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     xmlns:tns="http://www.alsb.com/AsyncBusiness/"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <types>
          <xsd:schema targetNamespace="http://www.alsb.com/AsyncBusiness/"
               xmlns:order="http://www.alsb.com/order/">
               <xsd:import namespace="http://www.alsb.com/order/"
                    schemaLocation="order.xsd" />
               <xsd:element name="submitOrder" type="order:Order" />
          </xsd:schema>
     </types>
     <message name="submitOrder">
          <part element="tns:submitOrder" name="submitOrder" />
     </message>
     <portType name="AsyncBusiness">
          <operation name="submitAsyncOrder">
               <input message="tns:submitOrder" />
          </operation>
     </portType>
     <binding name="AsyncBusinessSOAP" type="tns:AsyncBusiness">
          <soap:binding style="document"
               transport="http://www.openuri.org/2002/04/soap/jms" />
          <operation name="submitAsyncOrder">
               <soap:operation
                    soapAction="http://www.alsb.com/AsyncBusiness/submitOrder" />
               <input>
                    <soap:body parts="submitOrder" use="literal" />
               </input>
          </operation>
     </binding>
     <service name="AsyncBusiness">
          <port binding="tns:AsyncBusinessSOAP" name="AsyncBusiness">
               <soap:address
                    location="jms://192.168.48.1:7001/AsyncOrderSelf_WS/AsyncBusiness?URI=jms.WebServiceQueue" />
          </port>
     </service>
</definitions>
the problem is when I generate web service based on that, error found: invalid soap address, unknown protocol jms. How can I make it work?
I'm using workshop 10.3 for weblogic. Thanks in advance.
Best Regards,
Bill
Edited by: Bill Cao on May 20, 2009 11:13 AM

Bill,
Soap Address should always should be standard.
But you can change the action type under the wls binding part
for example I will provide one sample and it work perfectly at my end.
<!-- ************************************************************* -->
<!-- Web Service JMS Binding Definition -->
<!-- ************************************************************* -->
<wsdl:binding name="SampleJMSSoapBinding" type="invws:SamplePort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms" />
<wsdl:operation name="DeleteParty">
<soap:operation soapAction="http://xmlns.oracle.com/communications/webservice/DeleteParty" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InventoryFault">
<soap:fault name="InventoryFault" use="literal" />
</wsdl:fault>
<wsdl:fault name="ValidationFault">
<soap:fault name="ValidationFault" use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<!-- ************************************************************* -->
<!-- Web Service Port Binding Definition -->
<!-- ************************************************************* -->
<wsdl:service name="Sample">
<wsdl:port name="SampleHTTPPort" binding="invws:SampleHTTPSoapBinding">
<soap:address location="http://localhost:7001/Sample/SampleHTTP" />
</wsdl:port>
<wsdl:port name="SampleJMSPort" binding="invws:SampleJMSSoapBinding">
<soap:address location="jms://localhost:7001/Sample/SampleJMS?URI=inventoryWSQueue" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
let me know whether this will help any where.
Regards,
Kal.

Similar Messages

  • JMS transport - weblogic changes soap:address location="jms:.. to http

    Hi,
    Please help me to configure web service to use only jms transport.
    I try to create web service that uses JMS transport.
    I started from WSDL where I placed two elements:
    <soap:binding style="document"
                   transport="http://www.openuri.org/2002/04/soap/jms" />
    and
    <soap:address location="jms://host:7041/contextPathName/serviceUriName?URI=queueName" />
    Then in web service implementation I placed following annotation:
    @WLJmsTransport(contextPath = "contextPathName", serviceUri = "serviceUriName", portName = "portName", queue = "queueName", connectionFactory = "connectionFactoryName")
    Deployment is successful but when I look at generated WSDL (Admin console) I see that weblogic has changed <soap:address location="jms:.. to <soap:address location="http....
    And when I look at monitoring I see that port is using JMS transport.
    When I try to test my service using Admin console Test client I see that the queue is not used (Admin console/monitoring/Messages total is still 0) and service uses (I suppose) http transport.

    Hi,
    Please change "http://www.openuri.org/2002/04/soap/jms" to http://www.openuri.org/2002/04/soap/jms/ for soap1.1 or http://www.openuri.org/2002/04/soap12/jms/ for soap1.2.
    There must be some mismatch between edoc and implementation.
    -LJ

  • Unknown protocol: classpath when SOA server parses WSDL of ADF Web Services

    We used ADF 11.1.1.4 to create synchronous web services (via Application Module Service Interface). Everything worked fine, we were able to created SOA composites that references those ADF web services and deploy them to SOA server successfully.
    However, since last weekend, all SOA composites that reference the ADF web services started to give the following exception when loaded during SOA server startup:
    [2012-01-17T14:27:35.373-05:00] [soa_server1] [ERROR] [SOA-20003] [oracle.integration.platform] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@39ed0f9] [userId: <anonymous>] [ecid: 0000JJh8SfNFg4aPXMg8xb1F5Sgf000001,0] [APP: soa-infra] Unable to register service.[[
    oracle.fabric.common.FabricException: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/deployed-composites/default/MainOrch100000000002001Composite_rev1.0/SOAAMServiceRef.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/deployed-composites/default/MainOrch100000000002001Composite_rev1.0/SOAAMServiceRef.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:379)
    at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:198)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.getDefinition(WebServiceEntryBindingComponent.java:240)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:147)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployServices(CompositeDeploymentConnection.java:161)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:92)
    at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/epm/fcc/service/SOAAMService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:932)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:808)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:708)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:656)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:368)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:911)
    ... 32 more
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid URL or file: classpath:/META-INF/wsdl/ServiceException.wsdl: java.net.MalformedURLException: unknown protocol: classpath
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:929)
    ... 37 more
    Caused by: java.net.MalformedURLException: unknown protocol: classpath
    at java.net.URL.<init>(URL.java:574)
    at java.net.URL.<init>(URL.java:465)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:901)
    ... 37 more
    Any suggestion about what might be causing this issue?
    Thanks,
    Fang

    Just thought to put the solution here, in case anyone else that uses SOA encounter the same issue.
    It turns out the setDomainEnv.cmd file for SOA server was corrupted, so that the list of PROTOCOL_HANDLERS are bad. It should have
    set PROTOCOL_HANDLERS=%PROTOCOL_HANDLERS%;oracle.fabric.common.classloaderurl.handler;oracle.fabric.common.uddiurl.handler;oracle.bpm.io.fs.protocol
    But something changed it to be only have oracle.mds.net.protocol, Therefore the classpath protocol could not be recognized by SOA server. Once we corrected the PROTOCOL_HANDLERS, this issue is gone.

  • Web.show_document gives FRM-92020 error unknown protocol

    Hi I am hoping someone can help.
    I am using web.show_document in forms 10g and get an FRM-92020 unknown protocol error. The URL I am passing starts fddl:// this is a legitimate call to an Electronic Document management system image search engine. The URL works 100% outside of Forms, i.e cut and paste into an internet Explorer address bar. The problem is with web.show_document parsing for 'known' protocols.
    Is there any way I can stop this validation from taking place. Incidentally I can HOST out and call iexplore with the URL and again that works (client Server), however we do not have webutil installed for me to do the webutil equivalent in our live environment!
    Any help will be great, thanks in advance.
    Trev.

    Hi Francois,
    thanks for replying.
    Yes I am using '_blank' as the second parameter.
    The URL I am passing is dynamically genreated and held in a variable. My call is:
    web.show_document(l_url,'_blank');
    the url evaluates to something like below:
    l_url := 'fddl://fmhsqlserv/filedirector/...........................'
    I am struggling to find any documentation on web.show_document that will help with this scenario. It is frustrating as the url is 100% OK, its just the evaluation of it by the function call.
    Any help or ideas are welcome.
    Trev

  • Changing location specified using soap:address

    Hi there,
    How can i change the webservice host address which is shown in wsdl file (in IE).
    This tag is under <service name......
    what i know is that the wsdl file is generated automatically then how to change that host address in <host address....
    example :
    <service name="Service">
    <documentation>Interface. Version 2.0</documentation>
    - <port name="Service" binding="tns:Service">
    <soap:address location="http://mynet.tk.com:11001/webapp/webservices/mpp20" />
    </port>
    </service>
    The question is from where it automatically forms the url like...
    <soap:address location="http://mynet.tk.com:11001/webapp/webservices/mpp20" />
    I am using bea Weblogic for deployment.
    Thanks,

    Hi all,
    I have found now a bit tricky way to solve this after investigating in jax-ws and tomcat source code...
    on external proxy server you have to use apache2 as a reverse proxy with the modules mod_proxy, mod_rewrite and mod_headers activated.
    In your configuration for your virtual hosts (below only shown for Port 443) you have to set ProxyPreserveHost to On (to set external hostname in proxied request), further you have to modify request header to set the right port, external used:
    for example with following directive "RequestHeader set Host externalhost:443".
    HTTPS requests you have to route to internal server on second port 8082, HTTP requests you have to route, as usually, on port 8080, look at the directives ProxyPass and ProxyPassReverse as shown below.
    On tomcat server you have to enable second port 8082 with "wrong" settings enabled: scheme="https" and secure="true"
    the webservices are now able to show the right scheme, too, external used.
    Possible configuration of apache2 virtualhosts:
    <IfModule mod_ssl.c>
    #NameVirtualHost *
    <VirtualHost *:443>
            ServerName externalhost:443
            ServerAdmin webmaster@localhost
            Protocol https
            UseCanonicalName On
            DocumentRoot /var/www/
            ErrorLog /var/log/apache2/error-ssl.log
            SSLEngine On
             # Possible values include: debug, info, notice, warn, error, crit,
             # alert, emerg.
             LogLevel warn
             CustomLog /var/log/apache2/access-ssl.log combined
             ServerSignature On
             <IfModule mod_proxy.c>
                #turning ProxyRequests on and allowing proxying from all may allow
                #spammers to use your proxy to send email.
                ProxyRequests Off
                <Proxy *>
                      AddDefaultCharset off
                     Order deny,allow
                     #Deny from all
                     #Allow from .example.com
                     Allow from all
                </Proxy>
                # Enable/disable the handling of HTTP/1.1 "Via:" headers.
                # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
                # Set to one of: Off | On | Full | Block
                ProxyVia Off
                ProxyErrorOverride Off
                ProxyPreserveHost On
                <IfModule mod_headers.c>
                   <Proxy *>
                      RequestHeader set Front-End-Https On
                      RequestHeader set Host externalhost:443
                   </Proxy>
                </IfModule>
                ProxyPass                /ws-foo/ http://internalhost:8082/ws-foo/
                ProxyPassReverse /ws-foo/ https://externalhost:443/ws-foo/
             </IfModule>
    </VirtualHost>
    </IfModule> Configuration of tomcat: <tomcat-base>/conf/server.xml:
        <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 and 8082 -->
        <Connector URIEncoding="utf-8" acceptCount="100"
                   connectionTimeout="20000"
                   disableUploadTimeout="true" enableLookups="false"
                   maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150"
                   minSpareThreads="25" port="8080" redirectPort="8443"/>
        <Connector URIEncoding="utf-8" acceptCount="100"
                   connectionTimeout="20000"
                   disableUploadTimeout="true" enableLookups="false"
                   maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150"
                   minSpareThreads="25" scheme="https" secure="true"
                   port="8082" redirectPort="8443"/>Hope, that helps you all - this had cost me a lot of time... ;-)
    Regards.

  • Exception setting SOAP address to $CHANGE-WHEN-DEPLOY$:

    Am trying to call the Credit Rating Service using the 10.1.2 version of BPEL engine using the JDeveloper Designer. Have no problems calling the Credit Rating Service through the console tester but when my BPEL process called SynchBPELProcess2 calls the credit rating service I get the following error:
    Your test request generated the following exception/fault:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=exception setting SOAP address to $CHANGE-WHEN-DEPLOY$: no protocol: $CHANGE-WHEN-DEPLOY$; nested exception is:
         java.net.MalformedURLException: no protocol: $CHANGE-WHEN-DEPLOY$}}
    Is there some additional configuration that needs to be done to get around this or am I missing a step somewhere. Ran into this while going step by step with the Order booking tutorial and so decided to try with a separate project.
    BPEL File Attached below:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Tue Apr 12 18:57:43 GMT+05:30 2005
    // Author: 121401
    // Purpose: Synchronous BPEL Process
    -->
    <process name="SynchBPELProcess2" targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ns1="http://services.otn.com" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SynchBPELProcess2" myRole="SynchBPELProcess2Provider"/>
    <partnerLink name="CreditRatingService" partnerLinkType="ns1:CreditRatingService" partnerRole="CreditRatingServiceProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:SynchBPELProcess2RequestMessage"/><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable" messageType="client:SynchBPELProcess2ResponseMessage"/>
    <variable name="invokeCR_process_InputVariable" messageType="ns1:CreditRatingServiceRequestMessage"/>
    <variable name="invokeCR_process_OutputVariable" messageType="ns1:CreditRatingServiceResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in SynchBPELProcess2.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:SynchBPELProcess2ProcessRequest/client:input"/>
    <to variable="invokeCR_process_InputVariable" part="payload" query="/ns1:ssn"/>
    </copy>
    </assign>
    <invoke name="invokeCR" partnerLink="CreditRatingService" portType="ns1:CreditRatingService" operation="process" inputVariable="invokeCR_process_InputVariable" outputVariable="invokeCR_process_OutputVariable"/>
    <reply name="replyOutput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="outputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="invokeCR_process_OutputVariable" part="payload" query="/ns1:rating"/>
    <to variable="outputVariable" part="payload" query="/client:SynchBPELProcess2ProcessResponse/client:result"/>
    </copy>
    </assign>
    </sequence>
    </process>
    WSDL Attached below :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="SynchBPELProcess2"
    targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="SynchBPELProcess2ProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="SynchBPELProcess2ProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="result" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="SynchBPELProcess2RequestMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessRequest"/>
         </message>
         <message name="SynchBPELProcess2ResponseMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the SynchBPELProcess2 BPEL process -->
         <portType name="SynchBPELProcess2">
              <operation name="process">
                   <input message="client:SynchBPELProcess2RequestMessage" />
                   <output message="client:SynchBPELProcess2ResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="SynchBPELProcess2">
              <plnk:role name="SynchBPELProcess2Provider">
                   <plnk:portType name="client:SynchBPELProcess2"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

    Lasts monday I downloaded a version (10.1.2 release, not preview/beta 3) which has the same filename and file size of the 10.1.2 GA release which is available right now.
    I don't think the problem is in the PM, because i can run bpelc/obant to build my processes. however when i build them with the Eclipse plugin, it won't change the location of the wsdl (keep saying $CHANGE_WHEN_DEPLOY$).

  • Wscompile No SOAP address specified

    I have seen this same post over and over again. I haven't seen a single real answer for it. SO here we go again.....
    warning: ignoring port "HelloHttpGet": no SOAP address specified
    warning: ignoring port "HelloHttpPost": no SOAP address specified
    these are the errors. I read a bug article based on this, but it was in regards to a .Net project and not a java one.
    I would assume that if those ports were ignored, my project won't work, so i really really need to figure this out.
    here is my config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="Hello.wsdl"
    packageName="com.c2bmc"/>
    </configuration>
    and here is my wsdl
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="Hello.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema">
    <s:element name="getPlanList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getPlanListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getPlanListResult" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string"/>
    </s:schema>
    </types>
    <message name="getPlanListSoapIn">
    <part name="parameters" element="s0:getPlanList"/>
    </message>
    <message name="getPlanListSoapOut">
    <part name="parameters" element="s0:getPlanListResponse"/>
    </message>
    <message name="getPlanListHttpGetIn"/>
    <message name="getPlanListHttpGetOut">
    <part name="Body" element="s0:string"/>
    </message>
    <message name="getPlanListHttpPostIn"/>
    <message name="getPlanListHttpPostOut">
    <part name="Body" element="s0:string"/>
    </message>
    <portType name="HelloSoap">
    <operation name="getPlanList">
    <input message="s0:getPlanListSoapIn"/>
    <output message="s0:getPlanListSoapOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpGet">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpGetIn"/>
    <output message="s0:getPlanListHttpGetOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpPost">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpPostIn"/>
    <output message="s0:getPlanListHttpPostOut"/>
    </operation>
    </portType>
    <binding name="HelloSoap" type="s0:HelloSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPlanList">
    <soap:operation soapAction="http://www.openuri.org/getPlanList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpGet" type="s0:HelloHttpGet">
    <http:binding verb="GET"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpPost" type="s0:HelloHttpPost">
    <http:binding verb="POST"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="Hello">
    <port name="HelloSoap" binding="s0:HelloSoap">
    <soap:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpGet" binding="s0:HelloHttpGet">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpPost" binding="s0:HelloHttpPost">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    </service>
    </definitions>
    Thanks for anyone who takes the time to help.
    Jason

    I have seen this same post over and over again. I haven't seen a single real answer for it. SO here we go again.....
    warning: ignoring port "HelloHttpGet": no SOAP address specified
    warning: ignoring port "HelloHttpPost": no SOAP address specified
    these are the errors. I read a bug article based on this, but it was in regards to a .Net project and not a java one.
    I would assume that if those ports were ignored, my project won't work, so i really really need to figure this out.
    here is my config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="Hello.wsdl"
    packageName="com.c2bmc"/>
    </configuration>
    and here is my wsdl
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="Hello.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema">
    <s:element name="getPlanList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getPlanListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getPlanListResult" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string"/>
    </s:schema>
    </types>
    <message name="getPlanListSoapIn">
    <part name="parameters" element="s0:getPlanList"/>
    </message>
    <message name="getPlanListSoapOut">
    <part name="parameters" element="s0:getPlanListResponse"/>
    </message>
    <message name="getPlanListHttpGetIn"/>
    <message name="getPlanListHttpGetOut">
    <part name="Body" element="s0:string"/>
    </message>
    <message name="getPlanListHttpPostIn"/>
    <message name="getPlanListHttpPostOut">
    <part name="Body" element="s0:string"/>
    </message>
    <portType name="HelloSoap">
    <operation name="getPlanList">
    <input message="s0:getPlanListSoapIn"/>
    <output message="s0:getPlanListSoapOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpGet">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpGetIn"/>
    <output message="s0:getPlanListHttpGetOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpPost">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpPostIn"/>
    <output message="s0:getPlanListHttpPostOut"/>
    </operation>
    </portType>
    <binding name="HelloSoap" type="s0:HelloSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPlanList">
    <soap:operation soapAction="http://www.openuri.org/getPlanList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpGet" type="s0:HelloHttpGet">
    <http:binding verb="GET"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpPost" type="s0:HelloHttpPost">
    <http:binding verb="POST"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="Hello">
    <port name="HelloSoap" binding="s0:HelloSoap">
    <soap:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpGet" binding="s0:HelloHttpGet">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpPost" binding="s0:HelloHttpPost">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    </service>
    </definitions>
    Thanks for anyone who takes the time to help.
    Jason

  • Unknown protocol drops on switches

    Hai,
    I am facing a problem with cisco 3850 switch.
    4 3850 switches are stacked this is the ios version.
    Switch Ports Model              SW Version        SW Image              Mode  
         1 56    WS-C3850-48P       03.03.01SE        cat3k_caa-universalk9 INSTALL
    *    2 56    WS-C3850-48P       03.03.01SE        cat3k_caa-universalk9 INSTALL
         3 56    WS-C3850-48P       03.03.01SE        cat3k_caa-universalk9 INSTALL
         4 56    WS-C3850-48P       03.03.01SE        cat3k_caa-universalk9 INSTALL
    On all interfaces we are getting un known protocol drops.
    This is happening only for the ports connected to Cisco IP Phone.
    sh int gigabitEthernet 1/0/6
    GigabitEthernet1/0/6 is up, line protocol is up (connected)
      Hardware is Gigabit Ethernet, address is 20bb.c001.b186 (bia 20bb.c001.b186)
      MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
      input flow-control is off, output flow-control is unsupported
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:09, output never, output hang never
      Last clearing of "show interface" counters 2d20h
      Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 20000 bits/sec, 26 packets/sec
      5 minute output rate 582000 bits/sec, 54 packets/sec
         1660799 packets input, 1143477736 bytes, 0 no buffer
         Received 11299 broadcasts (9112 multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 watchdog, 9112 multicast, 0 pause input
         0 input packets with dribble condition detected
         2420321 packets output, 1763948037 bytes, 0 underruns
         0 output errors, 0 collisions, 0 interface resets
    ******943 unknown protocol drops**********************************************
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier, 0 pause output
         0 output buffer failures, 0 output buffers swapped out
    I tried to troubleshoot the issue with dtp,lldp,cdp...etc...seems that is not the issue
    What could be the issue? any clue?
    Regards
    Deva

    Transmit                  GigabitEthernet1/0/6   Receive                
                0 Total bytes                           0 Total bytes             
                0 Unicast frames                        0 Unicast frames          
                0 Unicast bytes                         0 Unicast bytes           
                0 Multicast frames                      0 Multicast frames        
                0 Multicast bytes                       0 Multicast bytes         
                0 Broadcast frames                      0 Broadcast frames        
                0 Broadcast bytes                       0 Broadcast bytes         
                0 System FCS error frames               0 IpgViolation frames     
                0 MacUnderrun frames                    0 MacOverrun frames       
                0 Pause frames                          0 Pause frames            
                0 Cos 0 Pause frames                    0 Cos 0 Pause frames      
                0 Cos 1 Pause frames                    0 Cos 1 Pause frames      
                0 Cos 2 Pause frames                    0 Cos 2 Pause frames      
                0 Cos 3 Pause frames                    0 Cos 3 Pause frames      
                0 Cos 4 Pause frames                    0 Cos 4 Pause frames      
                0 Cos 5 Pause frames                    0 Cos 5 Pause frames      
                0 Cos 6 Pause frames                    0 Cos 6 Pause frames      
                0 Cos 7 Pause frames                    0 Cos 7 Pause frames      
                0 Oam frames                            0 OamProcessed frames     
                0 Oam frames                            0 OamDropped frames       
                0 Minimum size frames                   0 Minimum size frames     
                0 65 to 127 byte frames                 0 65 to 127 byte frames   
                0 128 to 255 byte frames                0 128 to 255 byte frames  
                0 256 to 511 byte frames                0 256 to 511 byte frames  
                0 512 to 1023 byte frames               0 512 to 1023 byte frames 
                0 1024 to 1518 byte frames              0 1024 to 1518 byte frames
                0 1519 to 2047 byte frames              0 1519 to 2047 byte frames
                0 2048 to 4095 byte frames              0 2048 to 4095 byte frames
                0 4096 to 8191 byte frames              0 4096 to 8191 byte frames
                0 8192 to 16383 byte frames             0 8192 to 16383 byte frames
                0 16384 to 32767 byte frame             0 16384 to 32767 byte frame
                0 > 32768 byte frames                   0 > 32768 byte frames     
                0 Late collision frames                 0 SymbolErr frames        
                0 Excess Defer frames                   0 Collision fragments     
                0 Good (1 coll) frames                  0 ValidUnderSize frames   
                0 Good (>1 coll) frames                 0 InvalidOverSize frames  
                0 Deferred frames                       0 ValidOverSize frames    
                0 Gold frames dropped                   0 FcsErr frames           
                0 Gold frames truncated   
                0 Gold frames successful  
                0 1 collision frames      
                0 2 collision frames      
                0 3 collision frames      
                0 4 collision frames      
                0 5 collision frames      
                0 6 collision frames      
                0 7 collision frames      
                0 8 collision frames      
                0 9 collision frames      
                0 10 collision frames     
                0 11 collision frames     
                0 12 collision frames     
                0 13 collision frames     
                0 14 collision frames     
                0 15 collision frames     
                0 Excess collision frames 
    LAST UPDATE 120931740 msecs AGO

  • Webservices soap address location url update

    Hi,
    Is there any way to change the soap address location in the wsdl?
    I tried by changing the frontendport and host,But I don't have any option for updating the protocol(http/https) option in weblogic.
    advance thanks

    Thank you very much,
    I followed the same document for updation of endpoint,these settings only updating the host and port ,not the frontend access protocol. End points are generated properly if both the proxy and internal app server mapping uses the same protocol.
    Weblogic always using the application server protocol instead of proxy protocol.
    Example:wsdl accessed from proxy with https and the internal mapping is http.
    https://proxy:443/xxx/xxx?wsdl--->http://appserver:7001/xxx/xxx?wsdl--->web servies end point is http://proxy:80/xxx/xxx?wsdl but the expected endpoint is
    https://proxy/xxx/xxx?wsdl.
    thanks for providing any other advices

  • Unknown protocol: jndi java.lang.Throwable: unknown protocol: jndi

    hi,
    i use WLI 8.1 sp6. in my application i have a JMS Queue to publish the message from first jpd and in the second JPD im reading the message using JMS EG. we have managed servers (MS1 and MS2) and 2 JMS Server. when the message is published to MS1 server its throwing the following exception
    <unknown protocol: jndi
    java.lang.Throwable: unknown protocol: jndi
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.lookupConnectionFactory(JMSWrapper.java:200)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getConnectionFactory(JMSWrapper.java:169)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.ensureJNDILookupCache(JMSWrapper.java:127)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.acquirePooledJMSConnectionAndSession(JMSWrapper.java:64)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSWrapper.getSession(JMSWrapper.java:325)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createTextMsg(JMSControlMsg.java:115)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlMsg.createMessage(JMSControlMsg.java:72)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.createMessage(JMSControlImpl.jcs:1293)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.handleInvoke(JMSControlImpl.jcs:1279)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invokeInternal(JMSControlImpl.jcs:377)
    at com.bea.wlw.runtime.core.control.jmscontrol.JMSControlImpl.invoke(JMSControlImpl.jcs:310)
    at com.bea.control.WliJMSControlImpl.invoke(WliJMSControlImpl.jcs:205)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
    at $Proxy64.sendTextMessage(Unknown Source)
    but in MS2 its working perfectly. Any help in solving this issue would be appreciated.
    thanks,
    Anees.

    Check your java.security file
    probably in your line to set parameter login.config.url.1=files:c:/yourpath/xxx.conf you removed the "files" protocol to indicate the path.
    example
    login.config.url.1=c:/yourpath/xxx.conf
    with this you get the error
    "java.lang.SecurityException: unknown protocol: c".
    Regards,
    Alexandre Gonzalez

  • Unknown protocol drops

    We started using Cisco 3850 switches. We are seeing unknown protocol drops on 10gb and 1gb uplinks. We have 3750x switches that have the same config. The 3750s are not showing these drops. What would cause these unknown protocol drops? It does not appear to be a fiber or SFP issue. And it does not seem to be affecting the normal traffic.
    Sent from Cisco Technical Support iPhone App

    Hello lindseye444,
    Please have a look at this bug:
    https://tools.cisco.com/bugsearch/bug/CSCuh47950/?reffering_site=dumpcr
    Symptom:
    when a routing protocol packet (such as but not limited to EIGRP) is received on a 3850 configured as an L2 device, interfaces receiving these packets will increment "unknown protocol drops" 
    This is a cosmetic issue and will not affect the routing protocols involved.
    Conditions:
    EIGRP or other routing protocol packets are received by a Catalyst 3850 that is configured as an Layer2 switch.
    Workaround:
    Once an SVI (switch virtual interface: for example "interface vlan 10") with an IP address is configured on the 3850 for the vlan in question the "unknown protocol drops" counter stops incrementing
    Further Problem Description:
    L3 routing protocol packets might be punted to CPU received on a L2 switchport, if no SVI is presented, unknown protocol drops will increase on the physical interface.
    Regards.

  • Vlan interface "unknown protocol drops"

    Hello
    I have a satellite office that connects via VPN back to my Corporate office.
    The VPN is terminated on an Cisco 891.
    I have received complaints from the user's there that their Citrix session hangs on them. They can then reconnect the session and
    find the session was still going as they started back where they left off. There are several pc's that experiewnce the same issue.
    The Citrix server has been checked out. The PC's have been checked out and re-imaged just to make sure.
    I see on the Vlan interfacfe on the 9891 there are alot of unknown protocol drops.
    What does this mean and could it be the cause of the session hang?
    Vlan10 is up, line protocol is up
      Hardware is EtherSVI, address is 4403.abcd.efgh (bia 4403.abcd.efgh)
      Internet address is 10.x.221.1/24
      MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive not supported
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:05, output never, output hang never
      Last clearing of "show interface" counters 22:43:53
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 1000 bits/sec, 1 packets/sec
      5 minute output rate 1000 bits/sec, 1 packets/sec
         218197 packets input, 33432444 bytes, 0 no buffer
         Received 6568 broadcasts (0 IP multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         189384 packets output, 79892307 bytes, 0 underruns
         0 output errors, 0 interface resets
         7433 unknown protocol drops
         0 output buffer failures, 0 output buffers swapped out

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    If you're running Citrix across a VPN, that crosses the Internet (?), I would be first concerned about transient latency and/or packet drops.  I would also be concerned whether your VPN has been configured to avoid packet fragmentation.

  • Virtual Mail Setup - imapd-ssl error unknown protocol

    Hi,
    I have been relentlessly trying to setup my first email server and I think that I am almost there. I have been following the guide at:
    https://wiki.archlinux.org/index.php/Simple_Virtual_User_Mail_System
    I have followed it step by step and I'm 99% sure that I didn't miss a thing when setting it up.
    However, I cannot login to my roundcube mail. It just times out.
    This is the error that pops up in /var/log/mail.log:
    mail imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
    this is the contents of /etc/authlib/authmysqlrc:
    ##VERSION: $Id: authmysqlrc,v 1.20 2007/10/07 02:50:45 mrsam Exp $
    # Copyright 2000-2007 Double Precision, Inc. See COPYING for
    # distribution information.
    # Do not alter lines that begin with ##, they are used when upgrading
    # this configuration.
    # authmysqlrc created from authmysqlrc.dist by sysconftool
    # DO NOT INSTALL THIS FILE with world read permissions. This file
    # might contain the MySQL admin password!
    # Each line in this file must follow the following format:
    # field[spaces|tabs]value
    # That is, the name of the field, followed by spaces or tabs, followed by
    # field value. Trailing spaces are prohibited.
    ##NAME: LOCATION:0
    # The server name, userid, and password used to log in.
    MYSQL_SERVER localhost
    MYSQL_USERNAME postfix_user
    MYSQL_PASSWORD *******MY PASSWORD*******
    ##NAME: SSLINFO:0
    # The SSL information.
    # To use SSL-encrypted connections, define the following variables (available
    # in MySQL 4.0, or higher):
    # MYSQL_SSL_KEY /path/to/file
    # MYSQL_SSL_CERT /path/to/file
    # MYSQL_SSL_CACERT /path/to/file
    # MYSQL_SSL_CAPATH /path/to/file
    # MYSQL_SSL_CIPHERS ALL:!DES
    ##NAME: MYSQL_SOCKET:0
    # MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the
    # filesystem pipe used for the connection
    # MYSQL_SOCKET /var/mysql/mysql.sock
    ##NAME: MYSQL_PORT:0
    # MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to
    # connect to.
    MYSQL_PORT 3306
    ##NAME: MYSQL_OPT:0
    # Leave MYSQL_OPT as 0, unless you know what you're doing.
    MYSQL_OPT 0
    ##NAME: MYSQL_DATABASE:0
    # The name of the MySQL database we will open:
    MYSQL_DATABASE postfix_db
    #NAME: MYSQL_CHARACTER_SET:0
    # This is optional. MYSQL_CHARACTER_SET installs a character set. This option
    # can be used with MySQL version 4.1 or later. MySQL supports 70+ collations
    # for 30+ character sets. See MySQL documentations for more detalis.
    # MYSQL_CHARACTER_SET latin1
    ##NAME: MYSQL_USER_TABLE:0
    # The name of the table containing your user data. See README.authmysqlrc
    # for the required fields in this table.
    MYSQL_USER_TABLE mailbox
    ##NAME: MYSQL_CRYPT_PWFIELD:0
    # Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. Both
    # are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext
    # passwords go into MYSQL_CLEAR_PWFIELD. Cleartext passwords allow
    # CRAM-MD5 authentication to be implemented.
    MYSQL_CRYPT_PWFIELD password
    ##NAME: MYSQL_CLEAR_PWFIELD:0
    # MYSQL_CLEAR_PWFIELD clear
    ##NAME: MYSQL_DEFAULT_DOMAIN:0
    # If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user',
    # we will look up 'user@DEFAULT_DOMAIN' instead.
    # DEFAULT_DOMAIN example.com
    ##NAME: MYSQL_UID_FIELD:0
    # Other fields in the mysql table:
    # MYSQL_UID_FIELD - contains the numerical userid of the account
    MYSQL_UID_FIELD 5000
    ##NAME: MYSQL_GID_FIELD:0
    # Numerical groupid of the account
    MYSQL_GID_FIELD 5000
    ##NAME: MYSQL_LOGIN_FIELD:0
    # The login id, default is id. Basically the query is:
    # SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid'
    MYSQL_LOGIN_FIELD username
    ##NAME: MYSQL_HOME_FIELD:0
    MYSQL_HOME_FIELD "/home/vmail"
    ##NAME: MYSQL_NAME_FIELD:0
    # The user's name (optional)
    MYSQL_NAME_FIELD name
    ##NAME: MYSQL_MAILDIR_FIELD:0
    # This is an optional field, and can be used to specify an arbitrary
    # location of the maildir for the account, which normally defaults to
    # $HOME/Maildir (where $HOME is read from MYSQL_HOME_FIELD).
    # You still need to provide a MYSQL_HOME_FIELD, even if you uncomment this
    # out.
    MYSQL_MAILDIR_FIELD maildir
    ##NAME: MYSQL_DEFAULTDELIVERY:0
    # Courier mail server only: optional field specifies custom mail delivery
    # instructions for this account (if defined) -- essentially overrides
    # DEFAULTDELIVERY from ${sysconfdir}/courierd
    # MYSQL_DEFAULTDELIVERY defaultdelivery
    ##NAME: MYSQL_QUOTA_FIELD:0
    # Define MYSQL_QUOTA_FIELD to be the name of the field that can optionally
    # specify a maildir quota. See README.maildirquota for more information
    MYSQL_QUOTA_FIELD quota
    ##NAME: MYSQL_AUXOPTIONS:0
    # Auxiliary options. The MYSQL_AUXOPTIONS field should be a char field that
    # contains a single string consisting of comma-separated "ATTRIBUTE=NAME"
    # pairs. These names are additional attributes that define various per-account
    # "options", as given in INSTALL's description of the "Account OPTIONS"
    # setting.
    # MYSQL_AUXOPTIONS_FIELD auxoptions
    # You might want to try something like this, if you'd like to use a bunch
    # of individual fields, instead of a single text blob:
    # MYSQL_AUXOPTIONS_FIELD CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail,",sharedgroup=",sharedgroup)
    # This will let you define fields called "disableimap", etc, with the end result
    # being something that the OPTIONS parser understands.
    ##NAME: MYSQL_WHERE_CLAUSE:0
    # This is optional, MYSQL_WHERE_CLAUSE can be basically set to an arbitrary
    # fixed string that is appended to the WHERE clause of our query
    # MYSQL_WHERE_CLAUSE server='mailhost.example.com'
    ##NAME: MYSQL_SELECT_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_SELECT_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do a SELECT operation on database, which should return fields
    # in order specified bellow:
    # username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname, options
    # The username field should include the domain (see example below).
    # Enabling this option causes ignorance of any other field-related
    # options, excluding default domain.
    # There are two variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. These variables are:
    # $(local_part), $(domain), $(service)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(service) will expand out to the service being authenticated: imap, imaps,
    # pop3 or pop3s. Courier mail server only: service will also expand out to
    # "courier", when searching for local mail account's location. In this case,
    # if the "maildir" field is not empty it will be used in place of
    # DEFAULTDELIVERY. Courier mail server will also use esmtp when doing
    # authenticated ESMTP.
    # This example is a little bit modified adaptation of vmail-sql
    # database scheme:
    # MYSQL_SELECT_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # CONCAT('{MD5}', popbox.password_hash), \
    # popbox.clearpw, \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # domain.quota, \
    # CONCAT("disableimap=",disableimap,",disablepop3=", \
    # disablepop3,",disablewebmail=",disablewebmail, \
    # ",sharedgroup=",sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_ENUMERATE_CLAUSE:1
    # {EXPERIMENTAL}
    # Optional custom SQL query used to enumerate accounts for authenumerate,
    # in order to compile a list of accounts for shared folders. The query
    # should return the following fields: name, uid, gid, homedir, maildir, options
    # Example:
    # MYSQL_ENUMERATE_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # CONCAT('sharedgroup=', sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_CHPASS_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_CHPASS_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do an UPDATE operation on database. In other words, it is
    # used, when changing password.
    # There are four variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. There variables are:
    # $(local_part) , $(domain) , $(newpass) , $(newpass_crypt)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(newpass) contains plain password
    # $(newpass_crypt) contains its crypted form
    # MYSQL_CHPASS_CLAUSE UPDATE popbox \
    # SET clearpw='$(newpass)', \
    # password_hash='$(newpass_crypt)' \
    # WHERE local_part='$(local_part)' \
    # AND domain_name='$(domain)'
    I have been reading around about that error to no avail.
    i have extension=openssl.so uncommented in /etc/php/php.ini and round cube says my openssl is fine.
    Any help would be much appreciated!
    kush
    Last edited by kush (2012-01-05 16:49:18)

    Hey Kush I am having the same issue, did you ever get it working???

  • Invalid recipient address - while sending mails

    Hi Experts,
    I am trying to send a PDF form as a mail attachment from my SAP R/3 server (version ECC 6.0)
    Using the following code:
    PARAMETER : p_addr TYPE adr6-smtp_addr DEFAULT  'ashish.shah xyz.com'.
    *"Look up the generated function for the Book Flight Form
    DATA : l_name TYPE funcname.
    TRY.
        CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
          EXPORTING
            i_name     = 'Z_CUST_BOOK_FLIGHT_FORM'
          IMPORTING
            e_funcname = l_name
          EXCEPTIONS
            OTHERS     = 0.
      CATCH cx_fp_api_repository.                           "#EC NO_HANDLER
      CATCH cx_fp_api_usage.                                "#EC NO_HANDLER
      CATCH cx_fp_api_internal.                             "#EC NO_HANDLER
    ENDTRY.
    DATA : l_outputparams TYPE sfpoutputparams.
    *"Start form processing
    l_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = l_outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *" Call the generated function for the Book Flight Form
    DATA : fp_docparams TYPE sfpdocparams,
           reservedonly TYPE bapisbodat-reserved,
           booking_data TYPE bapisbonew,
           fp_result    TYPE fpformoutput.
    fp_docparams-fillable = 'X'.
    fp_docparams-langu = sy-langu.
    CALL FUNCTION l_name
      EXPORTING
        /1bcdwb/docparams  = fp_docparams
        reserved           = reservedonly
        booking_data       = booking_data
      IMPORTING
        /1bcdwb/formoutput = fp_result
      EXCEPTIONS
        usage_error        = 1
        system_error       = 2
        internal_error     = 3
        OTHERS             = 4.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    DATA : pdf TYPE fpformoutput-pdf.
    pdf = fp_result-pdf.
    *"End the form Processing session
    CALL FUNCTION 'FP_JOB_CLOSE'
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 3
        OTHERS         = 4.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *"Create and send the email
    DATA : bcs_exception TYPE REF TO cx_bcs.
    TRY.
    *"Add text to the email body
        DATA : l_subject      TYPE so_obj_des,
               l_mailtext     TYPE bcsy_text,
               l_mailtext_row TYPE soli.
        l_subject = 'Trip Creation Form'.
        CONCATENATE 'Please fill out the form and return it to:'
                    'ashish.shah xyz.com'
                    INTO l_mailtext_row.
        APPEND l_mailtext_row TO l_mailtext.
    *"Create the email document
        DATA : document   TYPE REF TO cl_document_bcs,
               num_rows   TYPE i,
               textlength TYPE so_obj_len.
        DESCRIBE TABLE l_mailtext LINES num_rows.
        num_rows = num_rows * 255.
        MOVE num_rows TO textlength.
        document = cl_document_bcs=>create_document(
                     i_type    = 'RAW'
                     i_text    = l_mailtext
                     i_length  = textlength
                     i_subject = l_subject ).
    *"Add ataachment
        DATA : attdoctype TYPE soodk-objtp,
               atttitle   TYPE sood-objdes,
               attsize    TYPE sood-objlen,
               pdftab     TYPE solix_tab.
        attdoctype = 'pdf'.
        atttitle = 'CreateFlight'.
        attsize = XSTRLEN( pdf ).
        pdftab = cl_document_bcs=>xstring_to_solix(
                    ip_xstring = pdf ).
        document->add_attachment( EXPORTING i_attachment_type = attdoctype
                                            i_attachment_subject = atttitle
                                            i_attachment_size = attsize
                                            i_attachment_language = sy-langu
                                            i_att_content_hex = pdftab ).
    *"Create persistent send request
        DATA : send_request TYPE REF TO cl_bcs.
        send_request = cl_bcs=>create_persistent( ).
    *"Add document to send request
        send_request->set_document( document ).
    *"Get sender object
        DATA : sender TYPE REF TO cl_sapuser_bcs.
        sender = cl_sapuser_bcs=>create( 'A146861' ) .
    *"Add sender
        CALL METHOD send_request->set_sender
          EXPORTING
            i_sender = sender.
    *"Create recipient
        DATA : recipient TYPE REF TO if_recipient_bcs.
        recipient = cl_cam_address_bcs=>create_internet_address(
                                                  p_addr ).
    *"Add recipient with its respective attributes to send request
        send_request->add_recipient( EXPORTING i_recipient = recipient ).
    *"Set send immediately
        send_request->set_send_immediately( 'X' ).
    *"Send document
        send_request->send( ).
        COMMIT WORK.
        WRITE: 'Email coantaining the Interactive form was sent'.
      CATCH cx_bcs INTO bcs_exception.
        DATA : ex_msg TYPE string.
        ex_msg = bcs_exception->get_text( ).
        WRITE: 'Caught exception.', ex_msg.
    ENDTRY.
    I get a Mail sending failure notification in my SAP Businesss work place, with the title "Cannot be sent: Trip Creation Form " With status as :
    Status for Recipient ashish.shah xyz.com:
         No delivery to ashish.shah xyz.com, invalid recipient address
    I have entered the correct Email IDs, but still getting this error.
    Can you guys help?
    Regards,
    Ashish Shah

    Hi Ravi,
    I have @ in all the email IDs in my code , but i have removed it from this post.
    It seems SDN has implemented some new check - where in it checks for Email IDs in the post and gives error when any email ID is encountered.
    Can you now spot anything else , which could be the cause for the status as Invalid receipient?
    Regards,
    Ashish Shah

  • I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    In this case you won't be able to do that?

Maybe you are looking for