How do I interpret a WSDL with references to a namespace java: on a non-java client?

I'm trying to integrate against a SOAP web service, running on Apache Axis. The WSDL specifies a namespace with a URI, that looks like:


On the client-side, I'm using PHP, so the namespace xmlns:stns is meaningless. I have some Java class files (and their sources), that seems to correspond to this namespace. How do I handle this in a meaningful way?

Asked by: Blake316 | Posted: 21-01-2022

Answer 1

OK. It seems that I got confused by the fact that my client library had a bug, which made it choke on the wsdl. I switched from NuSOAP to php5's native soap library, and things works now.

Answered by: Byron552 | Posted: 22-02-2022

Answer 2

Your snippet is the beginning of an XML schema that defines the contents of the "java:dk.tdc.serviceproviderweb.datatypes" namespace. (The targetNamespace attribute indicates this).

So it shouldn't matter if you're handling this with java or PHP on the client side, as long as the rest of this schema is valid.

Answered by: Cherry798 | Posted: 22-02-2022

Similar questions

java - Browse server NameSpace and access custom references

I'm new to the OPC-UA universe and to the Milo SDK so I will try to do my best to explain what a i'm trying to do. I have a OPC-UA server instance running, that loads some nodes to the server NameSapce. On the other hand I have a client that subscribes to this server and tries to browse this nodes. I can see the nodes in the Client and I can access some of the references that are defined to this node. What i'm tryi...

RECENT Java References?

Closed. This question does not meet Stack Overflow guid...

What's the right way to import Java source into Eclipse to avoid messing up references?

I created a java project and then tried to import Java source code from two different projects. I've been working on it for a few hours, deleting and re-creating the project dozens of times to try to reconcile all of the messed up references between these two projects - which other people say are supposed to work together reliably. What I'm doing is using svn to download the source from each project. And then using...

soft references - Is there any way to determine if an object in Java is softly reachable?

In order to perform some testing, I'd like to check how my application behaves when some or all of the objects I have stored in a cache of SoftReference'd objects are disposed of. In order to do this, I'd like to manually clear the references stored in the cached SoftReference objects - simulating the VM disposing of those objects - but only if nothing else currently has a strong reference to that object (which cou...

variables - Java: best type to store grid references

I am creating an object in Java. One of its attributes is a grid reference - ints x, y &amp; z. Rather than creating a variable for each, is there a better way to store these?

C++ References and Java References

//C++ Example #include &lt;iostream&gt; using namespace std; int doHello (std::string&amp;); int main() { std::string str1 = "perry"; cout &lt;&lt; "String=" &lt;&lt; str1 &lt;&lt; endl; doHello(str1); cout &lt;&lt; "String=" &lt;&lt; str1 &lt;&lt; endl; // prints pieterson return 0; } int doHello(std::string&amp; str){ str = "pieterson"; cout &lt;&lt; "String=" &lt;&lt; str &l...

Fix Eclipse java references database corruption?

How do I make eclipse rebuild the database of classes contained within a project or workspace? This is what it uses to make the "References" menu action work, what it uses for the "Add import" dialog, etc. Basically, it's part of the core usefulness of Eclipse. And now, it's only working for maybe 5% of my project. I've run into this problem multiple times: something happens with eclipse, either through an OutOfMem...

Java: Possible to have mutual, final class references?

Let's say I have two classes, named A and B, that are associated with each other such that it is most convenient if each class's object contains a reference to the other. In other words, class A has a variable "b" of class B. Class B has a variable "a" of class A. This way, the code in each class has easy access to the other class. Is there any way to set up this association to be "final"? i.e. variable b in cl...

pointers - Java references values are addresses values?

When I do: int x[] = new int[2]; System.out.println("...&gt; " + x); the output value is like this: [I@1b67f74 so that hex number is concerning to the memory address where the object has been allocated? and [I what does it meaning?

java - How to Check References of Annotated Methods

I'm trying to find a way to check my classes for references of methods with a particular annotation (think "Deprecated"). As far as i see it, analysing byte code won't work because it doesn't contain any annotations. Using APT doesn't really help because i need the references to the methods, not the annotated methods themselves. So, what options do i have? The best i c...

java - Should references in RMI exposed services be transient?

I'm exposing some services using RMI on Spring. Every service has a dependency to other service bean which does the real processing job. For example: &lt;bean id="accountService" class="example.AccountServiceImpl"&gt; &lt;!-- any additional properties, maybe a DAO? --&gt; &lt;/bean&gt; &lt;bean id="rmiAccount" class="example.AccountRmiServiceImpl"/&gt; &lt;bean class="org.springframework.remoting.rmi....

Still can't find your answer? Check out these amazing Java communities for help...

Java Reddit Community | Java Help Reddit Community | Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)