You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sameer Tiwari (JIRA)" <ji...@apache.org> on 2012/04/28 07:09:45 UTC

[jira] [Created] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Sameer Tiwari created AXIS2-5306:
------------------------------------

             Summary: No schemaLocation for import of http://rmi.java/xsd
                 Key: AXIS2-5306
                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
             Project: Axis2
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.6.2
            Reporter: Sameer Tiwari
            Priority: Critical


I have attached a wsdl (notification-service) used by me

Axis2 version details: Axis2 1.6.1
I am using following command to generate server side classes "wsdl2java.sh"

**./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**

On doing so i get following error:

**[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
[WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
[WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
[WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
**[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
[WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
[WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail

 
>From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
<faultstring>Prohibited package name: java.rmi.xsd</faultstring>

Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!

Thanks,
Sameer






--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sameer Tiwari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264222#comment-13264222 ] 

Sameer Tiwari commented on AXIS2-5306:
--------------------------------------

With the same WSDL file, i am able to generate server side code with databinding 'xmlbeans" & "none" successfully and also could send request from my application to axis2 without any error

I tried with "jaxbri" databinding as well and then i get following error:


$ ./bin/wsdl2java.sh -uri notification-service.wsdl -d jaxbri -s -ss -sd -ssi -o samples/notification-service/src
 Using AXIS2_HOME: D:\HDM\Axis2\Axis1.6.1\axis2-1.6.1-bin\axis2-1.6.1
 Using JAVA_HOME:  D:\Program Files\Java\jdk1.5.0_15
Retrieving document at 'notification-service.wsdl'.
[WARN] src-resolve: Cannot resolve the name 'ax21:RemoteException' to a(n) 'type definition' component.
[WARN] src-resolve: Cannot resolve the name 'ax25:NBIUnMatchingHttpUsernameEvent' to a(n) 'type definition' component.
[WARN] src-resolve: Cannot resolve the name 'ax26:NBIAlarm' to a(n) 'type definition' component.
[WARN] src-resolve: Cannot resolve the name 'ax26:NBIDeviceID' to a(n) 'type definition' component.
[WARN] src-resolve: Cannot resolve the name 'ax29:ResponseDTO' to a(n) 'type definition' component.
[WARN] src-resolve: Cannot resolve the name 'ax23:IOException' to a(n) 'type definition' component.
[INFO] The samples\notification-service-doc-literal-jaxbri\src\src\com\xyz\abc\nbi\notification\service\NotificationEventServiceRemoteException.java file cannot be overwritten.

                
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5306.
---------------------------------------

    Resolution: Not A Problem
    
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Assigned] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  reassigned AXIS2-5306:
-----------------------------------------

    Assignee: Kishanthan Thangarajah
    
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Assignee: Kishanthan Thangarajah
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sameer Tiwari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sameer Tiwari updated AXIS2-5306:
---------------------------------

    Attachment: notification-service.wsdl
    
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sameer Tiwari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265828#comment-13265828 ] 

Sameer Tiwari commented on AXIS2-5306:
--------------------------------------

Can somebody please have a quick look and respond on this issue?
                
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sameer Tiwari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264223#comment-13264223 ] 

Sameer Tiwari commented on AXIS2-5306:
--------------------------------------

WSDL is generated via following plug-in in pom.xml:

===============================================================================================
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <dependencies>
          <dependency> 
            <groupId>com.sun</groupId>
            <artifactId>tools</artifactId>
            <version>1.5.0</version>
            <scope>system</scope>
            <systemPath>${java.home}/../lib/tools.jar</systemPath>
          </dependency> 
        </dependencies>
		<executions>
          <execution>
            <id>generate-wsdl</id>
            <phase>generate-sources</phase>
            <configuration>
			<tasks>
			 <!-- we do this because for some reasons I could not make it work
                     with the maven plugin java2wsdl
                 -->
                <taskdef name="java2wsdl" classname="org.apache.axis2.tool.ant.Java2WSDLTask">
                  <classpath refid="maven.compile.classpath" />
                </taskdef>     
                <mkdir dir="${project.build.outputDirectory}" />
                <javac srcdir="${basedir}/src/main/java/com/abc/xyz/nbi/notification/service/" destdir="${project.build.outputDirectory}">
                  <classpath refid="maven.compile.classpath" />
                </javac>
				<echo message="Completed compiling NotificationEventService.............." />
				<java2wsdl classpath="${project.build.outputDirectory}" className="com.alcatel.hdm.nbi.notification.service.NotificationEventService" locationUri="http://localhost:8080/axis/services/NotificationEventService" targetNamespace="urn:service.notification.nbi.xyz.abc.com" outputLocation="${basedir}/src/export/wsdl" outputFileName="notification-service.wsdl" style="document" wsdlVersion="1.1">
                </java2wsdl>

			</tasks>
            </configuration>
			<goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
	  </plugin>
                
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Kishanthan Thangarajah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270615#comment-13270615 ] 

Kishanthan Thangarajah commented on AXIS2-5306:
-----------------------------------------------

First, those set of warnings (No schemaLocation for import of) appear if you have schema imports without location for those schemas in wsdl. This will fail in runtime when a request comes for operations which uses those schemas. So you have to modify the wsdl to fix those schema import warnings accordingly. And when trying with an alternate binding, you have to either remove the files which were created earlier in the target output directory or use the overide option (-or).  

The error "Prohibited package name: java.rmi.xsd" seems that, you are trying to access classes which are in java.rmi.xsd package. But java does not allow to have custom packages which starts with "java" and this causes the error. This package was created with codegen using the schema targetNamespace from wsdl. So you have to either modify that as well in the wsdl or use your own package name using the (-p or -ns2p) option. 

Refer this [1] for more information. 

Thanks,
Kishanthan.
[1] http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html
                
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Issue Comment Edited] (AXIS2-5306) No schemaLocation for import of http://rmi.java/xsd

Posted by "Sameer Tiwari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265828#comment-13265828 ] 

Sameer Tiwari edited comment on AXIS2-5306 at 5/7/12 10:12 AM:
---------------------------------------------------------------

Can somebody please have a quick look and respond on this issue? Can this be assigned to some one?
                
      was (Author: sameerti):
    Can somebody please have a quick look and respond on this issue?
                  
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
>                 Key: AXIS2-5306
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5306
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.6.2
>            Reporter: Sameer Tiwari
>            Priority: Critical
>         Attachments: notification-service.wsdl
>
>
> I have attached a wsdl (notification-service) used by me
> Axis2 version details: Axis2 1.6.1
> I am using following command to generate server side classes "wsdl2java.sh"
> **./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src**
> On doing so i get following error:
> **[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
> **[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail**
> [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
> [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
>  
> From ant build i prepare *aar* file and copy it to *repository\services* folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
> <faultstring>Prohibited package name: java.rmi.xsd</faultstring>
> Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!
> Thanks,
> Sameer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org