Namespace and extention/inhertance

10-11  Source: Network gathering  Views:0 

Advertisement
I wonder if anybody have observed similar behaviour.
Our process:
1. write SLSB with request/response
2. let the servicegen generate the web-service.xml
We use inheritance (which translates to extention in wsdl) to provide some common elements for request/response:
public class XRequest implements Serializable {
private String application;
private String transactionId;
/* getters setters ommited ...*/
public class SomeRequest extends XRequest {
private String id;
/* getters setters ommited ...*/
The method signature looks like:
public SomeResponse check(String sessionId, SomeRequest val1) throws java.rmi.RemoteException
When SomeRequest and XRequest (SomeResponse/XResponse) are in the same package (same namespace in WSDL) it works.
If SomeRequest and XRequest (SomeResponse/XResponse) are not in the same package, the fields from XRequest/XResponse are gone.
When i fire up the test console, i noticed that all request elements somehow share the namespace.
I wonder, if for whatever reason the inheritance/extends in wls implementation works only in single package ?
Should i provide some serializers ? Am I missing something fundamental here ?
For reference, we use "document wrapped" and 8.1SP5 (originally 8.1SP3)
Pawel
Take a look at these:
http://www.w3.org/TR/REC-xml-names/
http://www.w3.org/TR/xmlschema-1/
http://www.w3.org/TR/xmlschema-2/
Regards,
AK~
Related articles
  • Namespace and extention/inhertance 10-11

    I wonder if anybody have observed similar behaviour. Our process: 1. write SLSB with request/response 2. let the servicegen generate the web-service.xml We use inheritance (which translates to extention in wsdl) to provide some common elements for re

  • BSOD on Server 2012 running dfs namespace and dfs replication roles with deduplication 10-11

    Hello, I have recently setup 2 dfsn & dfsr servers, both 2012 one physical the other virtual. The idea is to have one server as primary and the other as a failover \ DR. The primary server is virtual and connects via mpio \ iscsi to a dell san, using

  • XML Payload does not have namespace and prefix. 10-11

    Hello I have created a consumer business service which will be called from JDEdwards EOne, pulls data from database and send it to Fusion Middleware. SO, I have created proxy using JAX-WS option. And suggested in oracle doc, I created proxy outside O

  • Namespace and prefix are not coming up in xml payload created from BSSV 10-11

    Hello I am facing this issue that when I am creating xml payload from BSSV, payload does not have namespace and no prefix. I googled on this and made code change in package-info. java file. Now, when I test BSSV locally from Jdeveloper xml gets creat

  • PI 7.4 - AF_Modules/XMLAnonymizerBean - remove namespace and prefix 10-11

    Hi, In my receiver SOAP adapter I would like to remove the namespace and prefix. To do this I have configured the receiver SOAP adapter to include AF_Modules/XMLAnonymizerBean: The message log shows "Anonimizer: successfully anonymized" but when

  • XML without namespace and prefix, modified package-info.java, JAX-WS option 10-11

    Hello I have created a consumer business service which will be called from JDEdwards EOne, pulls data from database and send it to Fusion Middleware. SO, I have created proxy using JAX-WS option. And suggested in oracle doc, I created proxy outside O

  • Delete namespace and prefix with Seeburger X.400 receiver 10-11

    Dear experts, I have a problem deleting a namespace and prefixes "ns0" from an XML output. When testing I was using an FTP receiver adapter with the AnonymizerBean which worked perfectly. I referred to: /people/stefan.grube/blog/2007/02/02/remov

  • Draft proposal: Namespaces and CSS 11-30

    Hey all, This is a draft proposal for how we'll update CSS support to handle disambiguating classes via namespace. Feedback appreciated here for now so when we get to the formal mini-spec we can rush it through. Keeping in mind that most folks have i

  • Best Practice Adding New Target to Namespace and Replication 11-30

    Hi, whats the best way to add a new target to Namespace and replication. Goal is to replace a old file Server at the end. I did the following: - copied the share with robocopy incl timestamps of files and folders - created share - added the new share

  • Namespace and schemaLocation 11-30

    I am new to the Java Web Services and started learning it. What is the difference between namespace and schemaLocation in XML Schema? Expecting kind help and help. Thanks.Take a look at these: http://www.w3.org/TR/REC-xml-names/ http://www.w3.org/TR/

  • Every time I start up Firefox, it always prompts me to reisntall the same pile of add-ons and extentions; I install them; still happens; why? 11-30

    Regarding Firefox 16.0.2. Every time I start up Firefox, especially after a period with my comp in standby mode, I am always asked to install several add-ons and extentions. Always the same ones, and always several. I install them, again and again, y

  • Feature: Saving image. Problem: When giving name, as default name and extention are highlighted. I want only the name to be highlighted. 11-30

    When saving items via firefox, like a picture, the name and extention are highlighted, e.g. "nameofpicture.gif" Can I change it so that it only hightlights the name and not the extention, e.g. "nameofpicture"? See link to picture of pr

  • How to take back up of my XI scenraios ( namespaces and Objects ) 10-11

    Hi I have done some scenarios on XI sytem which has been crashed. Present it is not working . J2ee Engine is not starting. Now we have installed new XI system. I want to take backup of my old scenarios and i need to import it into new XI system. How

  • Problem with application id and extents 10-11

    Hi, I've run into what may be a bug, so I wanted to run it by your group. I have a class that is using application identity and contains a collection of strings. When I load each instance of the class, the collection is filled in, however, when I loa

  • How to parse an XMl without using prefix in the namespace and elements? 10-11

    Hi The following is a sample of the xml that I need to parse. Without the prefix in the namespace section I am getting an error but when i just put in the prefix it works fine. Any help here would be greatly appreciated. I think i need to change some

  • Sender Namespace and Sender Interface in the IDOC to IDOC scenario 10-11

    My question maybe very basic... It is SAP IDOC to SAP IDOC scenario. Lets assume that I have done config in XI for:              Sender  = A,              Interface = B,              Namespace = C. My question is: Is there a place in the source syste

  • Issue with XML namespace and Message structure 10-11

    Hi All, I am using Oracle SOA Suite 11.1.1.4. I have SOA web service application one-way messaging wherein I keep receiving messages from the third party. The issue I am facing is with the XML namespaces which conflicts with the third party's message

  • VerifyError #1025 - default xml namespace and getter function 10-11

    I have narrowed the problem down to a a few lines. I have created a simple example of the problem... // TestClass.as package { import flash.events.EventDispatcher; public class TestClass extends EventDispatcher { private var _testVar:String; public f

  • Default xml namespace and attributes 10-11

    Hi, I was trying to use default xml namespaces, but came upon something strange. I got the following piece of xml: <animal type="sheep" xmlns="http://blabla">     <name>josh</name>     <age>2</age> </an

  • XML Namespace and schemalocation property? 10-11

    In many xml examples i see many nameschemas which even dont use in xml like in below example we have defined nameschemas as xsi,aop and one default namespace. If we dont use them what the purpose of defining them.Did not attach the xml as its quite b